{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Importing PulP solver\n",
    "from pulp import *"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Inputing the demand points\n",
    "demand_points=['Manama','Nicosia', 'Cairo','Tahran','Baghdad','Juresalem','Amman','Kuwait','Beirut','Muscat','Ramallah','Doha','Riyadh','Damascus','Ankara','Dubai','Sanaa']"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Inputing the distances\n",
    "distance = dict(zip(demand_points,[dict(zip(demand_points, [0,2243,2068,1060,992,1828,1759,455,494,867,1828,141,427,1679,2455,479,1483])),\n",
    "                                   dict(zip(demand_points, [2243,0,604,1982,1286,415,484,1823,377,3049,429,2306,1816,599,529,2675,2707])),\n",
    "                                   dict(zip(demand_points, [2068,604,0,1996,1300,426,494,1837,475,2874,429,2131,1641,671,1133,2500,2103])),\n",
    "                                   dict(zip(demand_points, [1060,1982,1996,0,696,1571,1502,803,1605,1525,1571,1201,1325,1401,1692,1236,2389])),\n",
    "                                   dict(zip(demand_points, [992,1286,1300,696,0,875,806,537,909,1859,875,1133,990,687,1463,1471,2054])),\n",
    "                                   dict(zip(demand_points, [1828,415,426,1571,875,0,69,1412,49,2634,14,1891,1401,246,944,2260,2465])),\n",
    "                                   dict(zip(demand_points, [1759,484,494,1502,806,69,0,1343,109,2565,69,1822,1332,177,953,2191,2396])),\n",
    "                                   dict(zip(demand_points, [455,1823,1837,803,537,1412,1343,0,1446,1322,1412,596,522,1224,2000,934,1584])),\n",
    "                                   dict(zip(demand_points, [494,377,475,1605,909,49,109,1446,0,2674,63,1931,1441,222,898,2300,2505])),\n",
    "                                   dict(zip(demand_points, [867,3049,2874,1525,1859,2634,2565,1322,2674,0,2634,743,1233,2546,3217,388,1757])),\n",
    "                                   dict(zip(demand_points, [1828,429,429,1571,875,14,69,1412,63,2634,0,1891,1401,246,958,2260,2465])),\n",
    "                                   dict(zip(demand_points, [141,2306,2131,1201,1133,1891,1822,596,1931,743,1891,0,490,1820,2596,369,1342])),\n",
    "                                   dict(zip(demand_points, [427,1816,1641,1325,990,1401,1332,522,1441,1233,1401,490,0,1509,2285,859,1064])),\n",
    "                                   dict(zip(demand_points, [1679,599,671,1401,687,246,177,1224,222,2546,246,1820,1509,0,776,2158,2573])),\n",
    "                                   dict(zip(demand_points, [2455,529,1133,1692,1463,944,953,2000,898,3217,958,2596,2285,776,0,2928,3236])),\n",
    "                                   dict(zip(demand_points, [479,2675,2500,1236,1471,2260,2191,934,2300,388,2260,369,859,2158,2928,0,1711])),\n",
    "                                   dict(zip(demand_points, [1483,2707,2103,2389,2054,2465,2396,1584,2505,1757,2465,1342,1064,2573,3236,1711,0]))]))\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [],
   "source": [
    "plant_numbers=2"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [],
   "source": [
    "vehicle_demands=dict(zip(demand_points, [50406.41948,19249.24726,209460.9334,143732.6165,206235.0984,208650.1461,102409.8548,126672.2329,47482.46964,143034.0077,10817.08753,52803.98822,486043.3058,28787.49694,127118.5459,470491.8826,15342.10768]))\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Decision Variables\n",
    "X = LpVariable.dicts('X%s%s', (demand_points,demand_points),\n",
    "                     cat = 'Binary',\n",
    "                     lowBound = 0,\n",
    "                     upBound = 1)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Setting up the minimization problem\n",
    "\n",
    "prob=LpProblem ('P Median',LpMinimize)\n",
    "prob+= sum(sum(vehicle_demands[j]*distance[i][j]*X[i][j] for j in demand_points)for i in demand_points)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "P Median:\n",
       "MINIMIZE\n",
       "121143974.2427*XAmmanAnkara + 166225489.31039998*XAmmanBaghdad + 5175589.190760001*XAmmanBeirut + 103473701.0996*XAmmanCairo + 5095386.95838*XAmmanDamascus + 96208866.53683999*XAmmanDoha + 1030847714.7766*XAmmanDubai + 14396860.0809*XAmmanJuresalem + 170120808.7847*XAmmanKuwait + 88664891.86532*XAmmanManama + 366882229.75049996*XAmmanMuscat + 9316635.67384*XAmmanNicosia + 746379.03957*XAmmanRamallah + 647409683.3255999*XAmmanRiyadh + 36759690.001279995*XAmmanSanaa + 215886389.983*XAmmanTahran + 97596591.6244*XAnkaraAmman + 301721948.95919997*XAnkaraBaghdad + 42639257.73672*XAnkaraBeirut + 237319237.5422*XAnkaraCairo + 22339097.62544*XAnkaraDamascus + 137079153.41911998*XAnkaraDoha + 1377600232.2528*XAnkaraDubai + 196965737.91840002*XAnkaraJuresalem + 253344465.8*XAnkaraKuwait + 123747759.82339999*XAnkaraManama + 460140402.77089995*XAnkaraMuscat + 10182851.80054*XAnkaraNicosia + 10362769.853740001*XAnkaraRamallah + 1110608953.753*XAnkaraRiyadh + 49647060.452479996*XAnkaraSanaa + 243195587.118*XAnkaraTahran + 82542342.9688*XBaghdadAmman + 185974432.6517*XBaghdadAnkara + 43161564.90276*XBaghdadBeirut + 272299213.42*XBaghdadCairo + 19777010.39778*XBaghdadDamascus + 59826918.65326*XBaghdadDoha + 692093559.3046*XBaghdadDubai + 182568877.8375*XBaghdadJuresalem + 68022989.0673*XBaghdadKuwait + 50003168.12416*XBaghdadManama + 265900220.31429997*XBaghdadMuscat + 24754531.97636*XBaghdadNicosia + 9464951.588750001*XBaghdadRamallah + 481182872.742*XBaghdadRiyadh + 31512689.174719997*XBaghdadSanaa + 100037901.084*XBaghdadTahran + 11162674.1732*XBeirutAmman + 114152454.2182*XBeirutAnkara + 187467704.4456*XBeirutBaghdad + 99493943.36500001*XBeirutCairo + 6390824.32068*XBeirutDamascus + 101964501.25282*XBeirutDoha + 1082131329.98*XBeirutDubai + 10223857.1589*XBeirutJuresalem + 183168048.7734*XBeirutKuwait + 24900771.22312*XBeirutManama + 382472936.58979994*XBeirutMuscat + 7256966.21702*XBeirutNicosia + 681476.51439*XBeirutRamallah + 700388403.6578*XBeirutRiyadh + 38431979.7384*XBeirutSanaa + 230690849.48250002*XBeirutTahran + 50590468.2712*XCairoAmman + 144025312.5047*XCairoAnkara + 268105627.92*XCairoBaghdad + 22554173.079*XCairoBeirut + 19316410.44674*XCairoDamascus + 112525298.89682*XCairoDoha + 1176229706.5*XCairoDubai + 88884962.2386*XCairoJuresalem + 232696891.8373*XCairoKuwait + 104240475.48463999*XCairoManama + 411079738.12979996*XCairoMuscat + 11626545.345040001*XCairoNicosia + 4640530.55037*XCairoRamallah + 797597064.8177999*XCairoRiyadh + 32264452.45104*XCairoSanaa + 286890302.534*XCairoTahran + 18126544.2996*XDamascusAmman + 98643991.6184*XDamascusAnkara + 141683512.60079998*XDamascusBaghdad + 10541108.26008*XDamascusBeirut + 140548286.3114*XDamascusCairo + 96103258.5604*XDamascusDoha + 1015321482.6508*XDamascusDubai + 51327935.9406*XDamascusJuresalem + 155046813.06960002*XDamascusKuwait + 84632378.30691999*XDamascusManama + 364164583.60419995*XDamascusMuscat + 11530299.10874*XDamascusNicosia + 2661003.53238*XDamascusRamallah + 733439348.4521999*XDamascusRiyadh + 39475243.06064*XDamascusSanaa + 201369395.7165*XDamascusTahran + 186590755.4456*XDohaAmman + 329999745.15639997*XDohaAnkara + 233664366.4872*XDohaBaghdad + 91688648.87484*XDohaBeirut + 446361249.0754*XDohaCairo + 52393244.4308*XDohaDamascus + 173611504.6794*XDohaDubai + 394557426.27510005*XDohaJuresalem + 75496650.8084*XDohaKuwait + 7107305.146679999*XDohaManama + 106274267.72109999*XDohaMuscat + 44388764.18156*XDohaNicosia + 20455112.51923*XDohaRamallah + 238161219.84199998*XDohaRiyadh + 20589108.506559998*XDohaSanaa + 172622872.4165*XDohaTahran + 224379991.8668*XDubaiAmman + 372203102.3952*XDubaiAnkara + 303371829.7464*XDubaiBaghdad + 109209680.172*XDubaiBeirut + 523652333.5*XDubaiCairo + 62123418.39652*XDubaiDamascus + 19484671.65318*XDubaiDoha + 471549330.18600005*XDubaiJuresalem + 118311865.5286*XDubaiKuwait + 24144674.930919997*XDubaiManama + 55497194.9876*XDubaiMuscat + 51491736.4205*XDubaiNicosia + 24446617.8178*XDubaiRamallah + 417511199.68219995*XDubaiRiyadh + 26250346.24048*XDubaiSanaa + 177653513.99400002*XDubaiTahran + 7066279.9812*XJuresalemAmman + 119999907.32959999*XJuresalemAnkara + 180455711.1*XJuresalemBaghdad + 2326641.01236*XJuresalemBeirut + 89230357.6284*XJuresalemCairo + 7081724.24724*XJuresalemDamascus + 99852341.72402*XJuresalemDoha + 1063311654.676*XJuresalemDubai + 178861192.85480002*XJuresalemKuwait + 92142934.80943999*XJuresalemManama + 376751576.2818*XJuresalemMuscat + 7988437.6129*XJuresalemNicosia + 151439.22542*XJuresalemRamallah + 680946671.4258*XJuresalemRiyadh + 37818295.4312*XJuresalemSanaa + 225803940.5215*XJuresalemTahran + 137536434.9964*XKuwaitAmman + 254237091.79999998*XKuwaitAnkara + 110748247.84079999*XKuwaitBaghdad + 68659651.09944001*XKuwaitBeirut + 384779734.65580004*XKuwaitCairo + 35235896.25456*XKuwaitDamascus + 31471176.97912*XKuwaitDoha + 439439418.3484*XKuwaitDubai + 294614006.2932*XKuwaitJuresalem + 22934920.863399997*XKuwaitManama + 189090958.1794*XKuwaitMuscat + 35091377.75498*XKuwaitNicosia + 15273727.592360001*XKuwaitRamallah + 253714605.62759998*XKuwaitRiyadh + 24301898.56512*XKuwaitSanaa + 115417291.0495*XKuwaitTahran + 180138934.5932*XManamaAmman + 312076030.1845*XManamaAnkara + 204585217.6128*XManamaBaghdad + 23456340.00216*XManamaBeirut + 433165210.2712*XManamaCairo + 48334207.36226*XManamaDamascus + 7445362.33902*XManamaDoha + 225365611.7654*XManamaDubai + 381412467.0708*XManamaJuresalem + 57635865.9695*XManamaKuwait + 124010484.67589998*XManamaMuscat + 43176061.60418*XManamaNicosia + 19773636.00484*XManamaRamallah + 207540491.5766*XManamaRiyadh + 22752345.689439997*XManamaSanaa + 152356573.49*XManamaTahran + 262681277.562*XMuscatAmman + 408940362.1603*XMuscatAnkara + 383391047.9256*XMuscatBaghdad + 126968123.81736001*XMuscatBeirut + 601990722.5916001*XMuscatCairo + 73292967.20924*XMuscatDamascus + 39233363.24746*XMuscatDoha + 182550850.4488*XMuscatDubai + 549584484.8274001*XMuscatJuresalem + 167460691.8938*XMuscatKuwait + 43702365.68916*XMuscatManama + 58690954.89574*XMuscatNicosia + 28492208.554020002*XMuscatRamallah + 599291396.0514*XMuscatRiyadh + 26956083.19376*XMuscatSanaa + 219192240.1625*XMuscatTahran + 49566369.7232*XNicosiaAmman + 67245710.7811*XNicosiaAnkara + 265218336.54239997*XNicosiaBaghdad + 17900891.05428*XNicosiaBeirut + 126514403.77360001*XNicosiaCairo + 17243710.66706*XNicosiaDamascus + 121765996.83532*XNicosiaDoha + 1258565785.955*XNicosiaDubai + 86589810.6315*XNicosiaJuresalem + 230923480.5767*XNicosiaKuwait + 113061598.89364*XNicosiaManama + 436110689.4773*XNicosiaMuscat + 4640530.55037*XNicosiaRamallah + 882654643.3327999*XNicosiaRiyadh + 41531085.48976*XNicosiaSanaa + 284878045.903*XNicosiaTahran + 7066279.9812*XRamallahAmman + 121779566.97219999*XRamallahAnkara + 180455711.1*XRamallahBaghdad + 2991395.5873200004*XRamallahBeirut + 89858740.4286*XRamallahCairo + 7081724.24724*XRamallahDamascus + 99852341.72402*XRamallahDoha + 1063311654.676*XRamallahDubai + 2921102.0454*XRamallahJuresalem + 178861192.85480002*XRamallahKuwait + 92142934.80943999*XRamallahManama + 376751576.2818*XRamallahMuscat + 8257927.07454*XRamallahNicosia + 680946671.4258*XRamallahRiyadh + 37818295.4312*XRamallahSanaa + 225803940.5215*XRamallahTahran + 136409926.5936*XRiyadhAmman + 290465877.3815*XRiyadhAnkara + 204172747.41599998*XRiyadhBaghdad + 68422238.75124*XRiyadhBeirut + 343725391.7094*XRiyadhCairo + 43440332.88246*XRiyadhDamascus + 25873954.2278*XRiyadhDoha + 404152527.1534*XRiyadhDubai + 292318854.6861*XRiyadhJuresalem + 66122905.573800005*XRiyadhKuwait + 21523541.11796*XRiyadhManama + 176360931.49409997*XRiyadhMuscat + 34956633.02416*XRiyadhNicosia + 15154739.629530001*XRiyadhRamallah + 16324002.571519999*XRiyadhSanaa + 190445716.8625*XRiyadhTahran + 245374012.1008*XSanaaAmman + 411355614.5324*XSanaaAnkara + 423606892.11359996*XSanaaBaghdad + 118943586.4482*XSanaaBeirut + 440496342.94020003*XSanaaCairo + 74070229.62662001*XSanaaDamascus + 70862952.19124*XSanaaDoha + 805011611.1286*XSanaaDubai + 514322610.13650006*XSanaaJuresalem + 200648816.9136*XSanaaKuwait + 74752720.08884*XSanaaManama + 251310751.52889997*XSanaaMuscat + 52107712.33282*XSanaaNicosia + 26664120.76145*XSanaaRamallah + 517150077.37119997*XSanaaRiyadh + 343377220.8185*XSanaaTahran + 153819601.9096*XTahranAmman + 215084579.66279998*XTahranAnkara + 143539628.48639998*XTahranBaghdad + 76209363.7722*XTahranBeirut + 418084023.0664*XTahranCairo + 40331283.21294*XTahranDamascus + 63417589.85222*XTahranDoha + 581527966.8936*XTahranDubai + 327789379.5231*XTahranJuresalem + 101717803.0187*XTahranKuwait + 53430804.64879999*XTahranManama + 218126861.74249998*XTahranMuscat + 38152008.06932*XTahranNicosia + 16993644.509630002*XTahranRamallah + 644007380.185*XTahranRiyadh + 36652295.24752*XTahranSanaa + 0.0\n",
       "SUBJECT TO\n",
       "_C1: XAmmanAmman + XAnkaraAnkara + XBaghdadBaghdad + XBeirutBeirut\n",
       " + XCairoCairo + XDamascusDamascus + XDohaDoha + XDubaiDubai\n",
       " + XJuresalemJuresalem + XKuwaitKuwait + XManamaManama + XMuscatMuscat\n",
       " + XNicosiaNicosia + XRamallahRamallah + XRiyadhRiyadh + XSanaaSanaa\n",
       " + XTahranTahran = 2\n",
       "\n",
       "_C2: XAmmanManama + XAnkaraManama + XBaghdadManama + XBeirutManama\n",
       " + XCairoManama + XDamascusManama + XDohaManama + XDubaiManama\n",
       " + XJuresalemManama + XKuwaitManama + XManamaManama + XMuscatManama\n",
       " + XNicosiaManama + XRamallahManama + XRiyadhManama + XSanaaManama\n",
       " + XTahranManama = 1\n",
       "\n",
       "_C3: XAmmanNicosia + XAnkaraNicosia + XBaghdadNicosia + XBeirutNicosia\n",
       " + XCairoNicosia + XDamascusNicosia + XDohaNicosia + XDubaiNicosia\n",
       " + XJuresalemNicosia + XKuwaitNicosia + XManamaNicosia + XMuscatNicosia\n",
       " + XNicosiaNicosia + XRamallahNicosia + XRiyadhNicosia + XSanaaNicosia\n",
       " + XTahranNicosia = 1\n",
       "\n",
       "_C4: XAmmanCairo + XAnkaraCairo + XBaghdadCairo + XBeirutCairo + XCairoCairo\n",
       " + XDamascusCairo + XDohaCairo + XDubaiCairo + XJuresalemCairo + XKuwaitCairo\n",
       " + XManamaCairo + XMuscatCairo + XNicosiaCairo + XRamallahCairo + XRiyadhCairo\n",
       " + XSanaaCairo + XTahranCairo = 1\n",
       "\n",
       "_C5: XAmmanTahran + XAnkaraTahran + XBaghdadTahran + XBeirutTahran\n",
       " + XCairoTahran + XDamascusTahran + XDohaTahran + XDubaiTahran\n",
       " + XJuresalemTahran + XKuwaitTahran + XManamaTahran + XMuscatTahran\n",
       " + XNicosiaTahran + XRamallahTahran + XRiyadhTahran + XSanaaTahran\n",
       " + XTahranTahran = 1\n",
       "\n",
       "_C6: XAmmanBaghdad + XAnkaraBaghdad + XBaghdadBaghdad + XBeirutBaghdad\n",
       " + XCairoBaghdad + XDamascusBaghdad + XDohaBaghdad + XDubaiBaghdad\n",
       " + XJuresalemBaghdad + XKuwaitBaghdad + XManamaBaghdad + XMuscatBaghdad\n",
       " + XNicosiaBaghdad + XRamallahBaghdad + XRiyadhBaghdad + XSanaaBaghdad\n",
       " + XTahranBaghdad = 1\n",
       "\n",
       "_C7: XAmmanJuresalem + XAnkaraJuresalem + XBaghdadJuresalem + XBeirutJuresalem\n",
       " + XCairoJuresalem + XDamascusJuresalem + XDohaJuresalem + XDubaiJuresalem\n",
       " + XJuresalemJuresalem + XKuwaitJuresalem + XManamaJuresalem\n",
       " + XMuscatJuresalem + XNicosiaJuresalem + XRamallahJuresalem\n",
       " + XRiyadhJuresalem + XSanaaJuresalem + XTahranJuresalem = 1\n",
       "\n",
       "_C8: XAmmanAmman + XAnkaraAmman + XBaghdadAmman + XBeirutAmman + XCairoAmman\n",
       " + XDamascusAmman + XDohaAmman + XDubaiAmman + XJuresalemAmman + XKuwaitAmman\n",
       " + XManamaAmman + XMuscatAmman + XNicosiaAmman + XRamallahAmman + XRiyadhAmman\n",
       " + XSanaaAmman + XTahranAmman = 1\n",
       "\n",
       "_C9: XAmmanKuwait + XAnkaraKuwait + XBaghdadKuwait + XBeirutKuwait\n",
       " + XCairoKuwait + XDamascusKuwait + XDohaKuwait + XDubaiKuwait\n",
       " + XJuresalemKuwait + XKuwaitKuwait + XManamaKuwait + XMuscatKuwait\n",
       " + XNicosiaKuwait + XRamallahKuwait + XRiyadhKuwait + XSanaaKuwait\n",
       " + XTahranKuwait = 1\n",
       "\n",
       "_C10: XAmmanBeirut + XAnkaraBeirut + XBaghdadBeirut + XBeirutBeirut\n",
       " + XCairoBeirut + XDamascusBeirut + XDohaBeirut + XDubaiBeirut\n",
       " + XJuresalemBeirut + XKuwaitBeirut + XManamaBeirut + XMuscatBeirut\n",
       " + XNicosiaBeirut + XRamallahBeirut + XRiyadhBeirut + XSanaaBeirut\n",
       " + XTahranBeirut = 1\n",
       "\n",
       "_C11: XAmmanMuscat + XAnkaraMuscat + XBaghdadMuscat + XBeirutMuscat\n",
       " + XCairoMuscat + XDamascusMuscat + XDohaMuscat + XDubaiMuscat\n",
       " + XJuresalemMuscat + XKuwaitMuscat + XManamaMuscat + XMuscatMuscat\n",
       " + XNicosiaMuscat + XRamallahMuscat + XRiyadhMuscat + XSanaaMuscat\n",
       " + XTahranMuscat = 1\n",
       "\n",
       "_C12: XAmmanRamallah + XAnkaraRamallah + XBaghdadRamallah + XBeirutRamallah\n",
       " + XCairoRamallah + XDamascusRamallah + XDohaRamallah + XDubaiRamallah\n",
       " + XJuresalemRamallah + XKuwaitRamallah + XManamaRamallah + XMuscatRamallah\n",
       " + XNicosiaRamallah + XRamallahRamallah + XRiyadhRamallah + XSanaaRamallah\n",
       " + XTahranRamallah = 1\n",
       "\n",
       "_C13: XAmmanDoha + XAnkaraDoha + XBaghdadDoha + XBeirutDoha + XCairoDoha\n",
       " + XDamascusDoha + XDohaDoha + XDubaiDoha + XJuresalemDoha + XKuwaitDoha\n",
       " + XManamaDoha + XMuscatDoha + XNicosiaDoha + XRamallahDoha + XRiyadhDoha\n",
       " + XSanaaDoha + XTahranDoha = 1\n",
       "\n",
       "_C14: XAmmanRiyadh + XAnkaraRiyadh + XBaghdadRiyadh + XBeirutRiyadh\n",
       " + XCairoRiyadh + XDamascusRiyadh + XDohaRiyadh + XDubaiRiyadh\n",
       " + XJuresalemRiyadh + XKuwaitRiyadh + XManamaRiyadh + XMuscatRiyadh\n",
       " + XNicosiaRiyadh + XRamallahRiyadh + XRiyadhRiyadh + XSanaaRiyadh\n",
       " + XTahranRiyadh = 1\n",
       "\n",
       "_C15: XAmmanDamascus + XAnkaraDamascus + XBaghdadDamascus + XBeirutDamascus\n",
       " + XCairoDamascus + XDamascusDamascus + XDohaDamascus + XDubaiDamascus\n",
       " + XJuresalemDamascus + XKuwaitDamascus + XManamaDamascus + XMuscatDamascus\n",
       " + XNicosiaDamascus + XRamallahDamascus + XRiyadhDamascus + XSanaaDamascus\n",
       " + XTahranDamascus = 1\n",
       "\n",
       "_C16: XAmmanAnkara + XAnkaraAnkara + XBaghdadAnkara + XBeirutAnkara\n",
       " + XCairoAnkara + XDamascusAnkara + XDohaAnkara + XDubaiAnkara\n",
       " + XJuresalemAnkara + XKuwaitAnkara + XManamaAnkara + XMuscatAnkara\n",
       " + XNicosiaAnkara + XRamallahAnkara + XRiyadhAnkara + XSanaaAnkara\n",
       " + XTahranAnkara = 1\n",
       "\n",
       "_C17: XAmmanDubai + XAnkaraDubai + XBaghdadDubai + XBeirutDubai + XCairoDubai\n",
       " + XDamascusDubai + XDohaDubai + XDubaiDubai + XJuresalemDubai + XKuwaitDubai\n",
       " + XManamaDubai + XMuscatDubai + XNicosiaDubai + XRamallahDubai + XRiyadhDubai\n",
       " + XSanaaDubai + XTahranDubai = 1\n",
       "\n",
       "_C18: XAmmanSanaa + XAnkaraSanaa + XBaghdadSanaa + XBeirutSanaa + XCairoSanaa\n",
       " + XDamascusSanaa + XDohaSanaa + XDubaiSanaa + XJuresalemSanaa + XKuwaitSanaa\n",
       " + XManamaSanaa + XMuscatSanaa + XNicosiaSanaa + XRamallahSanaa + XRiyadhSanaa\n",
       " + XSanaaSanaa + XTahranSanaa = 1\n",
       "\n",
       "_C19: 0 XManamaManama <= 0\n",
       "\n",
       "_C20: XNicosiaManama - XNicosiaNicosia <= 0\n",
       "\n",
       "_C21: - XCairoCairo + XCairoManama <= 0\n",
       "\n",
       "_C22: XTahranManama - XTahranTahran <= 0\n",
       "\n",
       "_C23: - XBaghdadBaghdad + XBaghdadManama <= 0\n",
       "\n",
       "_C24: - XJuresalemJuresalem + XJuresalemManama <= 0\n",
       "\n",
       "_C25: - XAmmanAmman + XAmmanManama <= 0\n",
       "\n",
       "_C26: - XKuwaitKuwait + XKuwaitManama <= 0\n",
       "\n",
       "_C27: - XBeirutBeirut + XBeirutManama <= 0\n",
       "\n",
       "_C28: XMuscatManama - XMuscatMuscat <= 0\n",
       "\n",
       "_C29: XRamallahManama - XRamallahRamallah <= 0\n",
       "\n",
       "_C30: - XDohaDoha + XDohaManama <= 0\n",
       "\n",
       "_C31: XRiyadhManama - XRiyadhRiyadh <= 0\n",
       "\n",
       "_C32: - XDamascusDamascus + XDamascusManama <= 0\n",
       "\n",
       "_C33: - XAnkaraAnkara + XAnkaraManama <= 0\n",
       "\n",
       "_C34: - XDubaiDubai + XDubaiManama <= 0\n",
       "\n",
       "_C35: XSanaaManama - XSanaaSanaa <= 0\n",
       "\n",
       "_C36: - XManamaManama + XManamaNicosia <= 0\n",
       "\n",
       "_C37: 0 XNicosiaNicosia <= 0\n",
       "\n",
       "_C38: - XCairoCairo + XCairoNicosia <= 0\n",
       "\n",
       "_C39: XTahranNicosia - XTahranTahran <= 0\n",
       "\n",
       "_C40: - XBaghdadBaghdad + XBaghdadNicosia <= 0\n",
       "\n",
       "_C41: - XJuresalemJuresalem + XJuresalemNicosia <= 0\n",
       "\n",
       "_C42: - XAmmanAmman + XAmmanNicosia <= 0\n",
       "\n",
       "_C43: - XKuwaitKuwait + XKuwaitNicosia <= 0\n",
       "\n",
       "_C44: - XBeirutBeirut + XBeirutNicosia <= 0\n",
       "\n",
       "_C45: - XMuscatMuscat + XMuscatNicosia <= 0\n",
       "\n",
       "_C46: XRamallahNicosia - XRamallahRamallah <= 0\n",
       "\n",
       "_C47: - XDohaDoha + XDohaNicosia <= 0\n",
       "\n",
       "_C48: XRiyadhNicosia - XRiyadhRiyadh <= 0\n",
       "\n",
       "_C49: - XDamascusDamascus + XDamascusNicosia <= 0\n",
       "\n",
       "_C50: - XAnkaraAnkara + XAnkaraNicosia <= 0\n",
       "\n",
       "_C51: - XDubaiDubai + XDubaiNicosia <= 0\n",
       "\n",
       "_C52: XSanaaNicosia - XSanaaSanaa <= 0\n",
       "\n",
       "_C53: XManamaCairo - XManamaManama <= 0\n",
       "\n",
       "_C54: XNicosiaCairo - XNicosiaNicosia <= 0\n",
       "\n",
       "_C55: 0 XCairoCairo <= 0\n",
       "\n",
       "_C56: XTahranCairo - XTahranTahran <= 0\n",
       "\n",
       "_C57: - XBaghdadBaghdad + XBaghdadCairo <= 0\n",
       "\n",
       "_C58: XJuresalemCairo - XJuresalemJuresalem <= 0\n",
       "\n",
       "_C59: - XAmmanAmman + XAmmanCairo <= 0\n",
       "\n",
       "_C60: XKuwaitCairo - XKuwaitKuwait <= 0\n",
       "\n",
       "_C61: - XBeirutBeirut + XBeirutCairo <= 0\n",
       "\n",
       "_C62: XMuscatCairo - XMuscatMuscat <= 0\n",
       "\n",
       "_C63: XRamallahCairo - XRamallahRamallah <= 0\n",
       "\n",
       "_C64: XDohaCairo - XDohaDoha <= 0\n",
       "\n",
       "_C65: XRiyadhCairo - XRiyadhRiyadh <= 0\n",
       "\n",
       "_C66: XDamascusCairo - XDamascusDamascus <= 0\n",
       "\n",
       "_C67: - XAnkaraAnkara + XAnkaraCairo <= 0\n",
       "\n",
       "_C68: XDubaiCairo - XDubaiDubai <= 0\n",
       "\n",
       "_C69: XSanaaCairo - XSanaaSanaa <= 0\n",
       "\n",
       "_C70: - XManamaManama + XManamaTahran <= 0\n",
       "\n",
       "_C71: - XNicosiaNicosia + XNicosiaTahran <= 0\n",
       "\n",
       "_C72: - XCairoCairo + XCairoTahran <= 0\n",
       "\n",
       "_C73: 0 XTahranTahran <= 0\n",
       "\n",
       "_C74: - XBaghdadBaghdad + XBaghdadTahran <= 0\n",
       "\n",
       "_C75: - XJuresalemJuresalem + XJuresalemTahran <= 0\n",
       "\n",
       "_C76: - XAmmanAmman + XAmmanTahran <= 0\n",
       "\n",
       "_C77: - XKuwaitKuwait + XKuwaitTahran <= 0\n",
       "\n",
       "_C78: - XBeirutBeirut + XBeirutTahran <= 0\n",
       "\n",
       "_C79: - XMuscatMuscat + XMuscatTahran <= 0\n",
       "\n",
       "_C80: - XRamallahRamallah + XRamallahTahran <= 0\n",
       "\n",
       "_C81: - XDohaDoha + XDohaTahran <= 0\n",
       "\n",
       "_C82: - XRiyadhRiyadh + XRiyadhTahran <= 0\n",
       "\n",
       "_C83: - XDamascusDamascus + XDamascusTahran <= 0\n",
       "\n",
       "_C84: - XAnkaraAnkara + XAnkaraTahran <= 0\n",
       "\n",
       "_C85: - XDubaiDubai + XDubaiTahran <= 0\n",
       "\n",
       "_C86: - XSanaaSanaa + XSanaaTahran <= 0\n",
       "\n",
       "_C87: XManamaBaghdad - XManamaManama <= 0\n",
       "\n",
       "_C88: XNicosiaBaghdad - XNicosiaNicosia <= 0\n",
       "\n",
       "_C89: XCairoBaghdad - XCairoCairo <= 0\n",
       "\n",
       "_C90: XTahranBaghdad - XTahranTahran <= 0\n",
       "\n",
       "_C91: 0 XBaghdadBaghdad <= 0\n",
       "\n",
       "_C92: XJuresalemBaghdad - XJuresalemJuresalem <= 0\n",
       "\n",
       "_C93: - XAmmanAmman + XAmmanBaghdad <= 0\n",
       "\n",
       "_C94: XKuwaitBaghdad - XKuwaitKuwait <= 0\n",
       "\n",
       "_C95: XBeirutBaghdad - XBeirutBeirut <= 0\n",
       "\n",
       "_C96: XMuscatBaghdad - XMuscatMuscat <= 0\n",
       "\n",
       "_C97: XRamallahBaghdad - XRamallahRamallah <= 0\n",
       "\n",
       "_C98: XDohaBaghdad - XDohaDoha <= 0\n",
       "\n",
       "_C99: XRiyadhBaghdad - XRiyadhRiyadh <= 0\n",
       "\n",
       "_C100: XDamascusBaghdad - XDamascusDamascus <= 0\n",
       "\n",
       "_C101: - XAnkaraAnkara + XAnkaraBaghdad <= 0\n",
       "\n",
       "_C102: XDubaiBaghdad - XDubaiDubai <= 0\n",
       "\n",
       "_C103: XSanaaBaghdad - XSanaaSanaa <= 0\n",
       "\n",
       "_C104: XManamaJuresalem - XManamaManama <= 0\n",
       "\n",
       "_C105: XNicosiaJuresalem - XNicosiaNicosia <= 0\n",
       "\n",
       "_C106: - XCairoCairo + XCairoJuresalem <= 0\n",
       "\n",
       "_C107: XTahranJuresalem - XTahranTahran <= 0\n",
       "\n",
       "_C108: - XBaghdadBaghdad + XBaghdadJuresalem <= 0\n",
       "\n",
       "_C109: 0 XJuresalemJuresalem <= 0\n",
       "\n",
       "_C110: - XAmmanAmman + XAmmanJuresalem <= 0\n",
       "\n",
       "_C111: XKuwaitJuresalem - XKuwaitKuwait <= 0\n",
       "\n",
       "_C112: - XBeirutBeirut + XBeirutJuresalem <= 0\n",
       "\n",
       "_C113: XMuscatJuresalem - XMuscatMuscat <= 0\n",
       "\n",
       "_C114: XRamallahJuresalem - XRamallahRamallah <= 0\n",
       "\n",
       "_C115: - XDohaDoha + XDohaJuresalem <= 0\n",
       "\n",
       "_C116: XRiyadhJuresalem - XRiyadhRiyadh <= 0\n",
       "\n",
       "_C117: - XDamascusDamascus + XDamascusJuresalem <= 0\n",
       "\n",
       "_C118: - XAnkaraAnkara + XAnkaraJuresalem <= 0\n",
       "\n",
       "_C119: - XDubaiDubai + XDubaiJuresalem <= 0\n",
       "\n",
       "_C120: XSanaaJuresalem - XSanaaSanaa <= 0\n",
       "\n",
       "_C121: XManamaAmman - XManamaManama <= 0\n",
       "\n",
       "_C122: XNicosiaAmman - XNicosiaNicosia <= 0\n",
       "\n",
       "_C123: XCairoAmman - XCairoCairo <= 0\n",
       "\n",
       "_C124: XTahranAmman - XTahranTahran <= 0\n",
       "\n",
       "_C125: XBaghdadAmman - XBaghdadBaghdad <= 0\n",
       "\n",
       "_C126: XJuresalemAmman - XJuresalemJuresalem <= 0\n",
       "\n",
       "_C127: 0 XAmmanAmman <= 0\n",
       "\n",
       "_C128: XKuwaitAmman - XKuwaitKuwait <= 0\n",
       "\n",
       "_C129: XBeirutAmman - XBeirutBeirut <= 0\n",
       "\n",
       "_C130: XMuscatAmman - XMuscatMuscat <= 0\n",
       "\n",
       "_C131: XRamallahAmman - XRamallahRamallah <= 0\n",
       "\n",
       "_C132: XDohaAmman - XDohaDoha <= 0\n",
       "\n",
       "_C133: XRiyadhAmman - XRiyadhRiyadh <= 0\n",
       "\n",
       "_C134: XDamascusAmman - XDamascusDamascus <= 0\n",
       "\n",
       "_C135: XAnkaraAmman - XAnkaraAnkara <= 0\n",
       "\n",
       "_C136: XDubaiAmman - XDubaiDubai <= 0\n",
       "\n",
       "_C137: XSanaaAmman - XSanaaSanaa <= 0\n",
       "\n",
       "_C138: XManamaKuwait - XManamaManama <= 0\n",
       "\n",
       "_C139: XNicosiaKuwait - XNicosiaNicosia <= 0\n",
       "\n",
       "_C140: - XCairoCairo + XCairoKuwait <= 0\n",
       "\n",
       "_C141: XTahranKuwait - XTahranTahran <= 0\n",
       "\n",
       "_C142: - XBaghdadBaghdad + XBaghdadKuwait <= 0\n",
       "\n",
       "_C143: - XJuresalemJuresalem + XJuresalemKuwait <= 0\n",
       "\n",
       "_C144: - XAmmanAmman + XAmmanKuwait <= 0\n",
       "\n",
       "_C145: 0 XKuwaitKuwait <= 0\n",
       "\n",
       "_C146: - XBeirutBeirut + XBeirutKuwait <= 0\n",
       "\n",
       "_C147: XMuscatKuwait - XMuscatMuscat <= 0\n",
       "\n",
       "_C148: XRamallahKuwait - XRamallahRamallah <= 0\n",
       "\n",
       "_C149: - XDohaDoha + XDohaKuwait <= 0\n",
       "\n",
       "_C150: XRiyadhKuwait - XRiyadhRiyadh <= 0\n",
       "\n",
       "_C151: - XDamascusDamascus + XDamascusKuwait <= 0\n",
       "\n",
       "_C152: - XAnkaraAnkara + XAnkaraKuwait <= 0\n",
       "\n",
       "_C153: - XDubaiDubai + XDubaiKuwait <= 0\n",
       "\n",
       "_C154: XSanaaKuwait - XSanaaSanaa <= 0\n",
       "\n",
       "_C155: XManamaBeirut - XManamaManama <= 0\n",
       "\n",
       "_C156: XNicosiaBeirut - XNicosiaNicosia <= 0\n",
       "\n",
       "_C157: XCairoBeirut - XCairoCairo <= 0\n",
       "\n",
       "_C158: XTahranBeirut - XTahranTahran <= 0\n",
       "\n",
       "_C159: - XBaghdadBaghdad + XBaghdadBeirut <= 0\n",
       "\n",
       "_C160: XJuresalemBeirut - XJuresalemJuresalem <= 0\n",
       "\n",
       "_C161: - XAmmanAmman + XAmmanBeirut <= 0\n",
       "\n",
       "_C162: XKuwaitBeirut - XKuwaitKuwait <= 0\n",
       "\n",
       "_C163: 0 XBeirutBeirut <= 0\n",
       "\n",
       "_C164: XMuscatBeirut - XMuscatMuscat <= 0\n",
       "\n",
       "_C165: XRamallahBeirut - XRamallahRamallah <= 0\n",
       "\n",
       "_C166: XDohaBeirut - XDohaDoha <= 0\n",
       "\n",
       "_C167: XRiyadhBeirut - XRiyadhRiyadh <= 0\n",
       "\n",
       "_C168: XDamascusBeirut - XDamascusDamascus <= 0\n",
       "\n",
       "_C169: - XAnkaraAnkara + XAnkaraBeirut <= 0\n",
       "\n",
       "_C170: XDubaiBeirut - XDubaiDubai <= 0\n",
       "\n",
       "_C171: XSanaaBeirut - XSanaaSanaa <= 0\n",
       "\n",
       "_C172: - XManamaManama + XManamaMuscat <= 0\n",
       "\n",
       "_C173: XNicosiaMuscat - XNicosiaNicosia <= 0\n",
       "\n",
       "_C174: - XCairoCairo + XCairoMuscat <= 0\n",
       "\n",
       "_C175: XTahranMuscat - XTahranTahran <= 0\n",
       "\n",
       "_C176: - XBaghdadBaghdad + XBaghdadMuscat <= 0\n",
       "\n",
       "_C177: - XJuresalemJuresalem + XJuresalemMuscat <= 0\n",
       "\n",
       "_C178: - XAmmanAmman + XAmmanMuscat <= 0\n",
       "\n",
       "_C179: - XKuwaitKuwait + XKuwaitMuscat <= 0\n",
       "\n",
       "_C180: - XBeirutBeirut + XBeirutMuscat <= 0\n",
       "\n",
       "_C181: 0 XMuscatMuscat <= 0\n",
       "\n",
       "_C182: XRamallahMuscat - XRamallahRamallah <= 0\n",
       "\n",
       "_C183: - XDohaDoha + XDohaMuscat <= 0\n",
       "\n",
       "_C184: XRiyadhMuscat - XRiyadhRiyadh <= 0\n",
       "\n",
       "_C185: - XDamascusDamascus + XDamascusMuscat <= 0\n",
       "\n",
       "_C186: - XAnkaraAnkara + XAnkaraMuscat <= 0\n",
       "\n",
       "_C187: - XDubaiDubai + XDubaiMuscat <= 0\n",
       "\n",
       "_C188: XSanaaMuscat - XSanaaSanaa <= 0\n",
       "\n",
       "_C189: - XManamaManama + XManamaRamallah <= 0\n",
       "\n",
       "_C190: - XNicosiaNicosia + XNicosiaRamallah <= 0\n",
       "\n",
       "_C191: - XCairoCairo + XCairoRamallah <= 0\n",
       "\n",
       "_C192: XTahranRamallah - XTahranTahran <= 0\n",
       "\n",
       "_C193: - XBaghdadBaghdad + XBaghdadRamallah <= 0\n",
       "\n",
       "_C194: - XJuresalemJuresalem + XJuresalemRamallah <= 0\n",
       "\n",
       "_C195: - XAmmanAmman + XAmmanRamallah <= 0\n",
       "\n",
       "_C196: - XKuwaitKuwait + XKuwaitRamallah <= 0\n",
       "\n",
       "_C197: - XBeirutBeirut + XBeirutRamallah <= 0\n",
       "\n",
       "_C198: - XMuscatMuscat + XMuscatRamallah <= 0\n",
       "\n",
       "_C199: 0 XRamallahRamallah <= 0\n",
       "\n",
       "_C200: - XDohaDoha + XDohaRamallah <= 0\n",
       "\n",
       "_C201: XRiyadhRamallah - XRiyadhRiyadh <= 0\n",
       "\n",
       "_C202: - XDamascusDamascus + XDamascusRamallah <= 0\n",
       "\n",
       "_C203: - XAnkaraAnkara + XAnkaraRamallah <= 0\n",
       "\n",
       "_C204: - XDubaiDubai + XDubaiRamallah <= 0\n",
       "\n",
       "_C205: XSanaaRamallah - XSanaaSanaa <= 0\n",
       "\n",
       "_C206: XManamaDoha - XManamaManama <= 0\n",
       "\n",
       "_C207: XNicosiaDoha - XNicosiaNicosia <= 0\n",
       "\n",
       "_C208: - XCairoCairo + XCairoDoha <= 0\n",
       "\n",
       "_C209: XTahranDoha - XTahranTahran <= 0\n",
       "\n",
       "_C210: - XBaghdadBaghdad + XBaghdadDoha <= 0\n",
       "\n",
       "_C211: XJuresalemDoha - XJuresalemJuresalem <= 0\n",
       "\n",
       "_C212: - XAmmanAmman + XAmmanDoha <= 0\n",
       "\n",
       "_C213: XKuwaitDoha - XKuwaitKuwait <= 0\n",
       "\n",
       "_C214: - XBeirutBeirut + XBeirutDoha <= 0\n",
       "\n",
       "_C215: XMuscatDoha - XMuscatMuscat <= 0\n",
       "\n",
       "_C216: XRamallahDoha - XRamallahRamallah <= 0\n",
       "\n",
       "_C217: 0 XDohaDoha <= 0\n",
       "\n",
       "_C218: XRiyadhDoha - XRiyadhRiyadh <= 0\n",
       "\n",
       "_C219: - XDamascusDamascus + XDamascusDoha <= 0\n",
       "\n",
       "_C220: - XAnkaraAnkara + XAnkaraDoha <= 0\n",
       "\n",
       "_C221: XDubaiDoha - XDubaiDubai <= 0\n",
       "\n",
       "_C222: XSanaaDoha - XSanaaSanaa <= 0\n",
       "\n",
       "_C223: - XManamaManama + XManamaRiyadh <= 0\n",
       "\n",
       "_C224: - XNicosiaNicosia + XNicosiaRiyadh <= 0\n",
       "\n",
       "_C225: - XCairoCairo + XCairoRiyadh <= 0\n",
       "\n",
       "_C226: XTahranRiyadh - XTahranTahran <= 0\n",
       "\n",
       "_C227: - XBaghdadBaghdad + XBaghdadRiyadh <= 0\n",
       "\n",
       "_C228: - XJuresalemJuresalem + XJuresalemRiyadh <= 0\n",
       "\n",
       "_C229: - XAmmanAmman + XAmmanRiyadh <= 0\n",
       "\n",
       "_C230: - XKuwaitKuwait + XKuwaitRiyadh <= 0\n",
       "\n",
       "_C231: - XBeirutBeirut + XBeirutRiyadh <= 0\n",
       "\n",
       "_C232: - XMuscatMuscat + XMuscatRiyadh <= 0\n",
       "\n",
       "_C233: - XRamallahRamallah + XRamallahRiyadh <= 0\n",
       "\n",
       "_C234: - XDohaDoha + XDohaRiyadh <= 0\n",
       "\n",
       "_C235: 0 XRiyadhRiyadh <= 0\n",
       "\n",
       "_C236: - XDamascusDamascus + XDamascusRiyadh <= 0\n",
       "\n",
       "_C237: - XAnkaraAnkara + XAnkaraRiyadh <= 0\n",
       "\n",
       "_C238: - XDubaiDubai + XDubaiRiyadh <= 0\n",
       "\n",
       "_C239: XSanaaRiyadh - XSanaaSanaa <= 0\n",
       "\n",
       "_C240: XManamaDamascus - XManamaManama <= 0\n",
       "\n",
       "_C241: XNicosiaDamascus - XNicosiaNicosia <= 0\n",
       "\n",
       "_C242: - XCairoCairo + XCairoDamascus <= 0\n",
       "\n",
       "_C243: XTahranDamascus - XTahranTahran <= 0\n",
       "\n",
       "_C244: - XBaghdadBaghdad + XBaghdadDamascus <= 0\n",
       "\n",
       "_C245: XJuresalemDamascus - XJuresalemJuresalem <= 0\n",
       "\n",
       "_C246: - XAmmanAmman + XAmmanDamascus <= 0\n",
       "\n",
       "_C247: XKuwaitDamascus - XKuwaitKuwait <= 0\n",
       "\n",
       "_C248: - XBeirutBeirut + XBeirutDamascus <= 0\n",
       "\n",
       "_C249: XMuscatDamascus - XMuscatMuscat <= 0\n",
       "\n",
       "_C250: XRamallahDamascus - XRamallahRamallah <= 0\n",
       "\n",
       "_C251: XDohaDamascus - XDohaDoha <= 0\n",
       "\n",
       "_C252: XRiyadhDamascus - XRiyadhRiyadh <= 0\n",
       "\n",
       "_C253: 0 XDamascusDamascus <= 0\n",
       "\n",
       "_C254: - XAnkaraAnkara + XAnkaraDamascus <= 0\n",
       "\n",
       "_C255: XDubaiDamascus - XDubaiDubai <= 0\n",
       "\n",
       "_C256: XSanaaDamascus - XSanaaSanaa <= 0\n",
       "\n",
       "_C257: XManamaAnkara - XManamaManama <= 0\n",
       "\n",
       "_C258: XNicosiaAnkara - XNicosiaNicosia <= 0\n",
       "\n",
       "_C259: XCairoAnkara - XCairoCairo <= 0\n",
       "\n",
       "_C260: XTahranAnkara - XTahranTahran <= 0\n",
       "\n",
       "_C261: XBaghdadAnkara - XBaghdadBaghdad <= 0\n",
       "\n",
       "_C262: XJuresalemAnkara - XJuresalemJuresalem <= 0\n",
       "\n",
       "_C263: - XAmmanAmman + XAmmanAnkara <= 0\n",
       "\n",
       "_C264: XKuwaitAnkara - XKuwaitKuwait <= 0\n",
       "\n",
       "_C265: XBeirutAnkara - XBeirutBeirut <= 0\n",
       "\n",
       "_C266: XMuscatAnkara - XMuscatMuscat <= 0\n",
       "\n",
       "_C267: XRamallahAnkara - XRamallahRamallah <= 0\n",
       "\n",
       "_C268: XDohaAnkara - XDohaDoha <= 0\n",
       "\n",
       "_C269: XRiyadhAnkara - XRiyadhRiyadh <= 0\n",
       "\n",
       "_C270: XDamascusAnkara - XDamascusDamascus <= 0\n",
       "\n",
       "_C271: 0 XAnkaraAnkara <= 0\n",
       "\n",
       "_C272: XDubaiAnkara - XDubaiDubai <= 0\n",
       "\n",
       "_C273: XSanaaAnkara - XSanaaSanaa <= 0\n",
       "\n",
       "_C274: XManamaDubai - XManamaManama <= 0\n",
       "\n",
       "_C275: XNicosiaDubai - XNicosiaNicosia <= 0\n",
       "\n",
       "_C276: - XCairoCairo + XCairoDubai <= 0\n",
       "\n",
       "_C277: XTahranDubai - XTahranTahran <= 0\n",
       "\n",
       "_C278: - XBaghdadBaghdad + XBaghdadDubai <= 0\n",
       "\n",
       "_C279: XJuresalemDubai - XJuresalemJuresalem <= 0\n",
       "\n",
       "_C280: - XAmmanAmman + XAmmanDubai <= 0\n",
       "\n",
       "_C281: XKuwaitDubai - XKuwaitKuwait <= 0\n",
       "\n",
       "_C282: - XBeirutBeirut + XBeirutDubai <= 0\n",
       "\n",
       "_C283: XMuscatDubai - XMuscatMuscat <= 0\n",
       "\n",
       "_C284: XRamallahDubai - XRamallahRamallah <= 0\n",
       "\n",
       "_C285: - XDohaDoha + XDohaDubai <= 0\n",
       "\n",
       "_C286: XRiyadhDubai - XRiyadhRiyadh <= 0\n",
       "\n",
       "_C287: - XDamascusDamascus + XDamascusDubai <= 0\n",
       "\n",
       "_C288: - XAnkaraAnkara + XAnkaraDubai <= 0\n",
       "\n",
       "_C289: 0 XDubaiDubai <= 0\n",
       "\n",
       "_C290: XSanaaDubai - XSanaaSanaa <= 0\n",
       "\n",
       "_C291: - XManamaManama + XManamaSanaa <= 0\n",
       "\n",
       "_C292: - XNicosiaNicosia + XNicosiaSanaa <= 0\n",
       "\n",
       "_C293: - XCairoCairo + XCairoSanaa <= 0\n",
       "\n",
       "_C294: XTahranSanaa - XTahranTahran <= 0\n",
       "\n",
       "_C295: - XBaghdadBaghdad + XBaghdadSanaa <= 0\n",
       "\n",
       "_C296: - XJuresalemJuresalem + XJuresalemSanaa <= 0\n",
       "\n",
       "_C297: - XAmmanAmman + XAmmanSanaa <= 0\n",
       "\n",
       "_C298: - XKuwaitKuwait + XKuwaitSanaa <= 0\n",
       "\n",
       "_C299: - XBeirutBeirut + XBeirutSanaa <= 0\n",
       "\n",
       "_C300: - XMuscatMuscat + XMuscatSanaa <= 0\n",
       "\n",
       "_C301: - XRamallahRamallah + XRamallahSanaa <= 0\n",
       "\n",
       "_C302: - XDohaDoha + XDohaSanaa <= 0\n",
       "\n",
       "_C303: - XRiyadhRiyadh + XRiyadhSanaa <= 0\n",
       "\n",
       "_C304: - XDamascusDamascus + XDamascusSanaa <= 0\n",
       "\n",
       "_C305: - XAnkaraAnkara + XAnkaraSanaa <= 0\n",
       "\n",
       "_C306: - XDubaiDubai + XDubaiSanaa <= 0\n",
       "\n",
       "_C307: 0 XSanaaSanaa <= 0\n",
       "\n",
       "_C308: 102409.8548 XManamaAmman + 127118.5459 XManamaAnkara\n",
       " + 206235.0984 XManamaBaghdad + 47482.46964 XManamaBeirut\n",
       " + 209460.9334 XManamaCairo + 28787.49694 XManamaDamascus\n",
       " + 52803.98822 XManamaDoha + 470491.8826 XManamaDubai\n",
       " + 208650.1461 XManamaJuresalem + 126672.2329 XManamaKuwait\n",
       " + 50406.41948 XManamaManama + 143034.0077 XManamaMuscat\n",
       " + 19249.24726 XManamaNicosia + 10817.08753 XManamaRamallah\n",
       " + 486043.3058 XManamaRiyadh + 15342.10768 XManamaSanaa\n",
       " + 143732.6165 XManamaTahran <= 1300000\n",
       "\n",
       "_C309: 102409.8548 XNicosiaAmman + 127118.5459 XNicosiaAnkara\n",
       " + 206235.0984 XNicosiaBaghdad + 47482.46964 XNicosiaBeirut\n",
       " + 209460.9334 XNicosiaCairo + 28787.49694 XNicosiaDamascus\n",
       " + 52803.98822 XNicosiaDoha + 470491.8826 XNicosiaDubai\n",
       " + 208650.1461 XNicosiaJuresalem + 126672.2329 XNicosiaKuwait\n",
       " + 50406.41948 XNicosiaManama + 143034.0077 XNicosiaMuscat\n",
       " + 19249.24726 XNicosiaNicosia + 10817.08753 XNicosiaRamallah\n",
       " + 486043.3058 XNicosiaRiyadh + 15342.10768 XNicosiaSanaa\n",
       " + 143732.6165 XNicosiaTahran <= 1300000\n",
       "\n",
       "_C310: 102409.8548 XCairoAmman + 127118.5459 XCairoAnkara\n",
       " + 206235.0984 XCairoBaghdad + 47482.46964 XCairoBeirut\n",
       " + 209460.9334 XCairoCairo + 28787.49694 XCairoDamascus\n",
       " + 52803.98822 XCairoDoha + 470491.8826 XCairoDubai\n",
       " + 208650.1461 XCairoJuresalem + 126672.2329 XCairoKuwait\n",
       " + 50406.41948 XCairoManama + 143034.0077 XCairoMuscat\n",
       " + 19249.24726 XCairoNicosia + 10817.08753 XCairoRamallah\n",
       " + 486043.3058 XCairoRiyadh + 15342.10768 XCairoSanaa\n",
       " + 143732.6165 XCairoTahran <= 1300000\n",
       "\n",
       "_C311: 102409.8548 XTahranAmman + 127118.5459 XTahranAnkara\n",
       " + 206235.0984 XTahranBaghdad + 47482.46964 XTahranBeirut\n",
       " + 209460.9334 XTahranCairo + 28787.49694 XTahranDamascus\n",
       " + 52803.98822 XTahranDoha + 470491.8826 XTahranDubai\n",
       " + 208650.1461 XTahranJuresalem + 126672.2329 XTahranKuwait\n",
       " + 50406.41948 XTahranManama + 143034.0077 XTahranMuscat\n",
       " + 19249.24726 XTahranNicosia + 10817.08753 XTahranRamallah\n",
       " + 486043.3058 XTahranRiyadh + 15342.10768 XTahranSanaa\n",
       " + 143732.6165 XTahranTahran <= 1300000\n",
       "\n",
       "_C312: 102409.8548 XBaghdadAmman + 127118.5459 XBaghdadAnkara\n",
       " + 206235.0984 XBaghdadBaghdad + 47482.46964 XBaghdadBeirut\n",
       " + 209460.9334 XBaghdadCairo + 28787.49694 XBaghdadDamascus\n",
       " + 52803.98822 XBaghdadDoha + 470491.8826 XBaghdadDubai\n",
       " + 208650.1461 XBaghdadJuresalem + 126672.2329 XBaghdadKuwait\n",
       " + 50406.41948 XBaghdadManama + 143034.0077 XBaghdadMuscat\n",
       " + 19249.24726 XBaghdadNicosia + 10817.08753 XBaghdadRamallah\n",
       " + 486043.3058 XBaghdadRiyadh + 15342.10768 XBaghdadSanaa\n",
       " + 143732.6165 XBaghdadTahran <= 1300000\n",
       "\n",
       "_C313: 102409.8548 XJuresalemAmman + 127118.5459 XJuresalemAnkara\n",
       " + 206235.0984 XJuresalemBaghdad + 47482.46964 XJuresalemBeirut\n",
       " + 209460.9334 XJuresalemCairo + 28787.49694 XJuresalemDamascus\n",
       " + 52803.98822 XJuresalemDoha + 470491.8826 XJuresalemDubai\n",
       " + 208650.1461 XJuresalemJuresalem + 126672.2329 XJuresalemKuwait\n",
       " + 50406.41948 XJuresalemManama + 143034.0077 XJuresalemMuscat\n",
       " + 19249.24726 XJuresalemNicosia + 10817.08753 XJuresalemRamallah\n",
       " + 486043.3058 XJuresalemRiyadh + 15342.10768 XJuresalemSanaa\n",
       " + 143732.6165 XJuresalemTahran <= 1300000\n",
       "\n",
       "_C314: 102409.8548 XAmmanAmman + 127118.5459 XAmmanAnkara\n",
       " + 206235.0984 XAmmanBaghdad + 47482.46964 XAmmanBeirut\n",
       " + 209460.9334 XAmmanCairo + 28787.49694 XAmmanDamascus\n",
       " + 52803.98822 XAmmanDoha + 470491.8826 XAmmanDubai\n",
       " + 208650.1461 XAmmanJuresalem + 126672.2329 XAmmanKuwait\n",
       " + 50406.41948 XAmmanManama + 143034.0077 XAmmanMuscat\n",
       " + 19249.24726 XAmmanNicosia + 10817.08753 XAmmanRamallah\n",
       " + 486043.3058 XAmmanRiyadh + 15342.10768 XAmmanSanaa\n",
       " + 143732.6165 XAmmanTahran <= 1300000\n",
       "\n",
       "_C315: 102409.8548 XKuwaitAmman + 127118.5459 XKuwaitAnkara\n",
       " + 206235.0984 XKuwaitBaghdad + 47482.46964 XKuwaitBeirut\n",
       " + 209460.9334 XKuwaitCairo + 28787.49694 XKuwaitDamascus\n",
       " + 52803.98822 XKuwaitDoha + 470491.8826 XKuwaitDubai\n",
       " + 208650.1461 XKuwaitJuresalem + 126672.2329 XKuwaitKuwait\n",
       " + 50406.41948 XKuwaitManama + 143034.0077 XKuwaitMuscat\n",
       " + 19249.24726 XKuwaitNicosia + 10817.08753 XKuwaitRamallah\n",
       " + 486043.3058 XKuwaitRiyadh + 15342.10768 XKuwaitSanaa\n",
       " + 143732.6165 XKuwaitTahran <= 1300000\n",
       "\n",
       "_C316: 102409.8548 XBeirutAmman + 127118.5459 XBeirutAnkara\n",
       " + 206235.0984 XBeirutBaghdad + 47482.46964 XBeirutBeirut\n",
       " + 209460.9334 XBeirutCairo + 28787.49694 XBeirutDamascus\n",
       " + 52803.98822 XBeirutDoha + 470491.8826 XBeirutDubai\n",
       " + 208650.1461 XBeirutJuresalem + 126672.2329 XBeirutKuwait\n",
       " + 50406.41948 XBeirutManama + 143034.0077 XBeirutMuscat\n",
       " + 19249.24726 XBeirutNicosia + 10817.08753 XBeirutRamallah\n",
       " + 486043.3058 XBeirutRiyadh + 15342.10768 XBeirutSanaa\n",
       " + 143732.6165 XBeirutTahran <= 1300000\n",
       "\n",
       "_C317: 102409.8548 XMuscatAmman + 127118.5459 XMuscatAnkara\n",
       " + 206235.0984 XMuscatBaghdad + 47482.46964 XMuscatBeirut\n",
       " + 209460.9334 XMuscatCairo + 28787.49694 XMuscatDamascus\n",
       " + 52803.98822 XMuscatDoha + 470491.8826 XMuscatDubai\n",
       " + 208650.1461 XMuscatJuresalem + 126672.2329 XMuscatKuwait\n",
       " + 50406.41948 XMuscatManama + 143034.0077 XMuscatMuscat\n",
       " + 19249.24726 XMuscatNicosia + 10817.08753 XMuscatRamallah\n",
       " + 486043.3058 XMuscatRiyadh + 15342.10768 XMuscatSanaa\n",
       " + 143732.6165 XMuscatTahran <= 1300000\n",
       "\n",
       "_C318: 102409.8548 XRamallahAmman + 127118.5459 XRamallahAnkara\n",
       " + 206235.0984 XRamallahBaghdad + 47482.46964 XRamallahBeirut\n",
       " + 209460.9334 XRamallahCairo + 28787.49694 XRamallahDamascus\n",
       " + 52803.98822 XRamallahDoha + 470491.8826 XRamallahDubai\n",
       " + 208650.1461 XRamallahJuresalem + 126672.2329 XRamallahKuwait\n",
       " + 50406.41948 XRamallahManama + 143034.0077 XRamallahMuscat\n",
       " + 19249.24726 XRamallahNicosia + 10817.08753 XRamallahRamallah\n",
       " + 486043.3058 XRamallahRiyadh + 15342.10768 XRamallahSanaa\n",
       " + 143732.6165 XRamallahTahran <= 1300000\n",
       "\n",
       "_C319: 102409.8548 XDohaAmman + 127118.5459 XDohaAnkara\n",
       " + 206235.0984 XDohaBaghdad + 47482.46964 XDohaBeirut + 209460.9334 XDohaCairo\n",
       " + 28787.49694 XDohaDamascus + 52803.98822 XDohaDoha + 470491.8826 XDohaDubai\n",
       " + 208650.1461 XDohaJuresalem + 126672.2329 XDohaKuwait\n",
       " + 50406.41948 XDohaManama + 143034.0077 XDohaMuscat\n",
       " + 19249.24726 XDohaNicosia + 10817.08753 XDohaRamallah\n",
       " + 486043.3058 XDohaRiyadh + 15342.10768 XDohaSanaa + 143732.6165 XDohaTahran\n",
       " <= 1300000\n",
       "\n",
       "_C320: 102409.8548 XRiyadhAmman + 127118.5459 XRiyadhAnkara\n",
       " + 206235.0984 XRiyadhBaghdad + 47482.46964 XRiyadhBeirut\n",
       " + 209460.9334 XRiyadhCairo + 28787.49694 XRiyadhDamascus\n",
       " + 52803.98822 XRiyadhDoha + 470491.8826 XRiyadhDubai\n",
       " + 208650.1461 XRiyadhJuresalem + 126672.2329 XRiyadhKuwait\n",
       " + 50406.41948 XRiyadhManama + 143034.0077 XRiyadhMuscat\n",
       " + 19249.24726 XRiyadhNicosia + 10817.08753 XRiyadhRamallah\n",
       " + 486043.3058 XRiyadhRiyadh + 15342.10768 XRiyadhSanaa\n",
       " + 143732.6165 XRiyadhTahran <= 1300000\n",
       "\n",
       "_C321: 102409.8548 XDamascusAmman + 127118.5459 XDamascusAnkara\n",
       " + 206235.0984 XDamascusBaghdad + 47482.46964 XDamascusBeirut\n",
       " + 209460.9334 XDamascusCairo + 28787.49694 XDamascusDamascus\n",
       " + 52803.98822 XDamascusDoha + 470491.8826 XDamascusDubai\n",
       " + 208650.1461 XDamascusJuresalem + 126672.2329 XDamascusKuwait\n",
       " + 50406.41948 XDamascusManama + 143034.0077 XDamascusMuscat\n",
       " + 19249.24726 XDamascusNicosia + 10817.08753 XDamascusRamallah\n",
       " + 486043.3058 XDamascusRiyadh + 15342.10768 XDamascusSanaa\n",
       " + 143732.6165 XDamascusTahran <= 1300000\n",
       "\n",
       "_C322: 102409.8548 XAnkaraAmman + 127118.5459 XAnkaraAnkara\n",
       " + 206235.0984 XAnkaraBaghdad + 47482.46964 XAnkaraBeirut\n",
       " + 209460.9334 XAnkaraCairo + 28787.49694 XAnkaraDamascus\n",
       " + 52803.98822 XAnkaraDoha + 470491.8826 XAnkaraDubai\n",
       " + 208650.1461 XAnkaraJuresalem + 126672.2329 XAnkaraKuwait\n",
       " + 50406.41948 XAnkaraManama + 143034.0077 XAnkaraMuscat\n",
       " + 19249.24726 XAnkaraNicosia + 10817.08753 XAnkaraRamallah\n",
       " + 486043.3058 XAnkaraRiyadh + 15342.10768 XAnkaraSanaa\n",
       " + 143732.6165 XAnkaraTahran <= 1300000\n",
       "\n",
       "_C323: 102409.8548 XDubaiAmman + 127118.5459 XDubaiAnkara\n",
       " + 206235.0984 XDubaiBaghdad + 47482.46964 XDubaiBeirut\n",
       " + 209460.9334 XDubaiCairo + 28787.49694 XDubaiDamascus\n",
       " + 52803.98822 XDubaiDoha + 470491.8826 XDubaiDubai\n",
       " + 208650.1461 XDubaiJuresalem + 126672.2329 XDubaiKuwait\n",
       " + 50406.41948 XDubaiManama + 143034.0077 XDubaiMuscat\n",
       " + 19249.24726 XDubaiNicosia + 10817.08753 XDubaiRamallah\n",
       " + 486043.3058 XDubaiRiyadh + 15342.10768 XDubaiSanaa\n",
       " + 143732.6165 XDubaiTahran <= 1300000\n",
       "\n",
       "_C324: 102409.8548 XSanaaAmman + 127118.5459 XSanaaAnkara\n",
       " + 206235.0984 XSanaaBaghdad + 47482.46964 XSanaaBeirut\n",
       " + 209460.9334 XSanaaCairo + 28787.49694 XSanaaDamascus\n",
       " + 52803.98822 XSanaaDoha + 470491.8826 XSanaaDubai\n",
       " + 208650.1461 XSanaaJuresalem + 126672.2329 XSanaaKuwait\n",
       " + 50406.41948 XSanaaManama + 143034.0077 XSanaaMuscat\n",
       " + 19249.24726 XSanaaNicosia + 10817.08753 XSanaaRamallah\n",
       " + 486043.3058 XSanaaRiyadh + 15342.10768 XSanaaSanaa\n",
       " + 143732.6165 XSanaaTahran <= 1300000\n",
       "\n",
       "VARIABLES\n",
       "0 <= XAmmanAmman <= 1 Integer\n",
       "0 <= XAmmanAnkara <= 1 Integer\n",
       "0 <= XAmmanBaghdad <= 1 Integer\n",
       "0 <= XAmmanBeirut <= 1 Integer\n",
       "0 <= XAmmanCairo <= 1 Integer\n",
       "0 <= XAmmanDamascus <= 1 Integer\n",
       "0 <= XAmmanDoha <= 1 Integer\n",
       "0 <= XAmmanDubai <= 1 Integer\n",
       "0 <= XAmmanJuresalem <= 1 Integer\n",
       "0 <= XAmmanKuwait <= 1 Integer\n",
       "0 <= XAmmanManama <= 1 Integer\n",
       "0 <= XAmmanMuscat <= 1 Integer\n",
       "0 <= XAmmanNicosia <= 1 Integer\n",
       "0 <= XAmmanRamallah <= 1 Integer\n",
       "0 <= XAmmanRiyadh <= 1 Integer\n",
       "0 <= XAmmanSanaa <= 1 Integer\n",
       "0 <= XAmmanTahran <= 1 Integer\n",
       "0 <= XAnkaraAmman <= 1 Integer\n",
       "0 <= XAnkaraAnkara <= 1 Integer\n",
       "0 <= XAnkaraBaghdad <= 1 Integer\n",
       "0 <= XAnkaraBeirut <= 1 Integer\n",
       "0 <= XAnkaraCairo <= 1 Integer\n",
       "0 <= XAnkaraDamascus <= 1 Integer\n",
       "0 <= XAnkaraDoha <= 1 Integer\n",
       "0 <= XAnkaraDubai <= 1 Integer\n",
       "0 <= XAnkaraJuresalem <= 1 Integer\n",
       "0 <= XAnkaraKuwait <= 1 Integer\n",
       "0 <= XAnkaraManama <= 1 Integer\n",
       "0 <= XAnkaraMuscat <= 1 Integer\n",
       "0 <= XAnkaraNicosia <= 1 Integer\n",
       "0 <= XAnkaraRamallah <= 1 Integer\n",
       "0 <= XAnkaraRiyadh <= 1 Integer\n",
       "0 <= XAnkaraSanaa <= 1 Integer\n",
       "0 <= XAnkaraTahran <= 1 Integer\n",
       "0 <= XBaghdadAmman <= 1 Integer\n",
       "0 <= XBaghdadAnkara <= 1 Integer\n",
       "0 <= XBaghdadBaghdad <= 1 Integer\n",
       "0 <= XBaghdadBeirut <= 1 Integer\n",
       "0 <= XBaghdadCairo <= 1 Integer\n",
       "0 <= XBaghdadDamascus <= 1 Integer\n",
       "0 <= XBaghdadDoha <= 1 Integer\n",
       "0 <= XBaghdadDubai <= 1 Integer\n",
       "0 <= XBaghdadJuresalem <= 1 Integer\n",
       "0 <= XBaghdadKuwait <= 1 Integer\n",
       "0 <= XBaghdadManama <= 1 Integer\n",
       "0 <= XBaghdadMuscat <= 1 Integer\n",
       "0 <= XBaghdadNicosia <= 1 Integer\n",
       "0 <= XBaghdadRamallah <= 1 Integer\n",
       "0 <= XBaghdadRiyadh <= 1 Integer\n",
       "0 <= XBaghdadSanaa <= 1 Integer\n",
       "0 <= XBaghdadTahran <= 1 Integer\n",
       "0 <= XBeirutAmman <= 1 Integer\n",
       "0 <= XBeirutAnkara <= 1 Integer\n",
       "0 <= XBeirutBaghdad <= 1 Integer\n",
       "0 <= XBeirutBeirut <= 1 Integer\n",
       "0 <= XBeirutCairo <= 1 Integer\n",
       "0 <= XBeirutDamascus <= 1 Integer\n",
       "0 <= XBeirutDoha <= 1 Integer\n",
       "0 <= XBeirutDubai <= 1 Integer\n",
       "0 <= XBeirutJuresalem <= 1 Integer\n",
       "0 <= XBeirutKuwait <= 1 Integer\n",
       "0 <= XBeirutManama <= 1 Integer\n",
       "0 <= XBeirutMuscat <= 1 Integer\n",
       "0 <= XBeirutNicosia <= 1 Integer\n",
       "0 <= XBeirutRamallah <= 1 Integer\n",
       "0 <= XBeirutRiyadh <= 1 Integer\n",
       "0 <= XBeirutSanaa <= 1 Integer\n",
       "0 <= XBeirutTahran <= 1 Integer\n",
       "0 <= XCairoAmman <= 1 Integer\n",
       "0 <= XCairoAnkara <= 1 Integer\n",
       "0 <= XCairoBaghdad <= 1 Integer\n",
       "0 <= XCairoBeirut <= 1 Integer\n",
       "0 <= XCairoCairo <= 1 Integer\n",
       "0 <= XCairoDamascus <= 1 Integer\n",
       "0 <= XCairoDoha <= 1 Integer\n",
       "0 <= XCairoDubai <= 1 Integer\n",
       "0 <= XCairoJuresalem <= 1 Integer\n",
       "0 <= XCairoKuwait <= 1 Integer\n",
       "0 <= XCairoManama <= 1 Integer\n",
       "0 <= XCairoMuscat <= 1 Integer\n",
       "0 <= XCairoNicosia <= 1 Integer\n",
       "0 <= XCairoRamallah <= 1 Integer\n",
       "0 <= XCairoRiyadh <= 1 Integer\n",
       "0 <= XCairoSanaa <= 1 Integer\n",
       "0 <= XCairoTahran <= 1 Integer\n",
       "0 <= XDamascusAmman <= 1 Integer\n",
       "0 <= XDamascusAnkara <= 1 Integer\n",
       "0 <= XDamascusBaghdad <= 1 Integer\n",
       "0 <= XDamascusBeirut <= 1 Integer\n",
       "0 <= XDamascusCairo <= 1 Integer\n",
       "0 <= XDamascusDamascus <= 1 Integer\n",
       "0 <= XDamascusDoha <= 1 Integer\n",
       "0 <= XDamascusDubai <= 1 Integer\n",
       "0 <= XDamascusJuresalem <= 1 Integer\n",
       "0 <= XDamascusKuwait <= 1 Integer\n",
       "0 <= XDamascusManama <= 1 Integer\n",
       "0 <= XDamascusMuscat <= 1 Integer\n",
       "0 <= XDamascusNicosia <= 1 Integer\n",
       "0 <= XDamascusRamallah <= 1 Integer\n",
       "0 <= XDamascusRiyadh <= 1 Integer\n",
       "0 <= XDamascusSanaa <= 1 Integer\n",
       "0 <= XDamascusTahran <= 1 Integer\n",
       "0 <= XDohaAmman <= 1 Integer\n",
       "0 <= XDohaAnkara <= 1 Integer\n",
       "0 <= XDohaBaghdad <= 1 Integer\n",
       "0 <= XDohaBeirut <= 1 Integer\n",
       "0 <= XDohaCairo <= 1 Integer\n",
       "0 <= XDohaDamascus <= 1 Integer\n",
       "0 <= XDohaDoha <= 1 Integer\n",
       "0 <= XDohaDubai <= 1 Integer\n",
       "0 <= XDohaJuresalem <= 1 Integer\n",
       "0 <= XDohaKuwait <= 1 Integer\n",
       "0 <= XDohaManama <= 1 Integer\n",
       "0 <= XDohaMuscat <= 1 Integer\n",
       "0 <= XDohaNicosia <= 1 Integer\n",
       "0 <= XDohaRamallah <= 1 Integer\n",
       "0 <= XDohaRiyadh <= 1 Integer\n",
       "0 <= XDohaSanaa <= 1 Integer\n",
       "0 <= XDohaTahran <= 1 Integer\n",
       "0 <= XDubaiAmman <= 1 Integer\n",
       "0 <= XDubaiAnkara <= 1 Integer\n",
       "0 <= XDubaiBaghdad <= 1 Integer\n",
       "0 <= XDubaiBeirut <= 1 Integer\n",
       "0 <= XDubaiCairo <= 1 Integer\n",
       "0 <= XDubaiDamascus <= 1 Integer\n",
       "0 <= XDubaiDoha <= 1 Integer\n",
       "0 <= XDubaiDubai <= 1 Integer\n",
       "0 <= XDubaiJuresalem <= 1 Integer\n",
       "0 <= XDubaiKuwait <= 1 Integer\n",
       "0 <= XDubaiManama <= 1 Integer\n",
       "0 <= XDubaiMuscat <= 1 Integer\n",
       "0 <= XDubaiNicosia <= 1 Integer\n",
       "0 <= XDubaiRamallah <= 1 Integer\n",
       "0 <= XDubaiRiyadh <= 1 Integer\n",
       "0 <= XDubaiSanaa <= 1 Integer\n",
       "0 <= XDubaiTahran <= 1 Integer\n",
       "0 <= XJuresalemAmman <= 1 Integer\n",
       "0 <= XJuresalemAnkara <= 1 Integer\n",
       "0 <= XJuresalemBaghdad <= 1 Integer\n",
       "0 <= XJuresalemBeirut <= 1 Integer\n",
       "0 <= XJuresalemCairo <= 1 Integer\n",
       "0 <= XJuresalemDamascus <= 1 Integer\n",
       "0 <= XJuresalemDoha <= 1 Integer\n",
       "0 <= XJuresalemDubai <= 1 Integer\n",
       "0 <= XJuresalemJuresalem <= 1 Integer\n",
       "0 <= XJuresalemKuwait <= 1 Integer\n",
       "0 <= XJuresalemManama <= 1 Integer\n",
       "0 <= XJuresalemMuscat <= 1 Integer\n",
       "0 <= XJuresalemNicosia <= 1 Integer\n",
       "0 <= XJuresalemRamallah <= 1 Integer\n",
       "0 <= XJuresalemRiyadh <= 1 Integer\n",
       "0 <= XJuresalemSanaa <= 1 Integer\n",
       "0 <= XJuresalemTahran <= 1 Integer\n",
       "0 <= XKuwaitAmman <= 1 Integer\n",
       "0 <= XKuwaitAnkara <= 1 Integer\n",
       "0 <= XKuwaitBaghdad <= 1 Integer\n",
       "0 <= XKuwaitBeirut <= 1 Integer\n",
       "0 <= XKuwaitCairo <= 1 Integer\n",
       "0 <= XKuwaitDamascus <= 1 Integer\n",
       "0 <= XKuwaitDoha <= 1 Integer\n",
       "0 <= XKuwaitDubai <= 1 Integer\n",
       "0 <= XKuwaitJuresalem <= 1 Integer\n",
       "0 <= XKuwaitKuwait <= 1 Integer\n",
       "0 <= XKuwaitManama <= 1 Integer\n",
       "0 <= XKuwaitMuscat <= 1 Integer\n",
       "0 <= XKuwaitNicosia <= 1 Integer\n",
       "0 <= XKuwaitRamallah <= 1 Integer\n",
       "0 <= XKuwaitRiyadh <= 1 Integer\n",
       "0 <= XKuwaitSanaa <= 1 Integer\n",
       "0 <= XKuwaitTahran <= 1 Integer\n",
       "0 <= XManamaAmman <= 1 Integer\n",
       "0 <= XManamaAnkara <= 1 Integer\n",
       "0 <= XManamaBaghdad <= 1 Integer\n",
       "0 <= XManamaBeirut <= 1 Integer\n",
       "0 <= XManamaCairo <= 1 Integer\n",
       "0 <= XManamaDamascus <= 1 Integer\n",
       "0 <= XManamaDoha <= 1 Integer\n",
       "0 <= XManamaDubai <= 1 Integer\n",
       "0 <= XManamaJuresalem <= 1 Integer\n",
       "0 <= XManamaKuwait <= 1 Integer\n",
       "0 <= XManamaManama <= 1 Integer\n",
       "0 <= XManamaMuscat <= 1 Integer\n",
       "0 <= XManamaNicosia <= 1 Integer\n",
       "0 <= XManamaRamallah <= 1 Integer\n",
       "0 <= XManamaRiyadh <= 1 Integer\n",
       "0 <= XManamaSanaa <= 1 Integer\n",
       "0 <= XManamaTahran <= 1 Integer\n",
       "0 <= XMuscatAmman <= 1 Integer\n",
       "0 <= XMuscatAnkara <= 1 Integer\n",
       "0 <= XMuscatBaghdad <= 1 Integer\n",
       "0 <= XMuscatBeirut <= 1 Integer\n",
       "0 <= XMuscatCairo <= 1 Integer\n",
       "0 <= XMuscatDamascus <= 1 Integer\n",
       "0 <= XMuscatDoha <= 1 Integer\n",
       "0 <= XMuscatDubai <= 1 Integer\n",
       "0 <= XMuscatJuresalem <= 1 Integer\n",
       "0 <= XMuscatKuwait <= 1 Integer\n",
       "0 <= XMuscatManama <= 1 Integer\n",
       "0 <= XMuscatMuscat <= 1 Integer\n",
       "0 <= XMuscatNicosia <= 1 Integer\n",
       "0 <= XMuscatRamallah <= 1 Integer\n",
       "0 <= XMuscatRiyadh <= 1 Integer\n",
       "0 <= XMuscatSanaa <= 1 Integer\n",
       "0 <= XMuscatTahran <= 1 Integer\n",
       "0 <= XNicosiaAmman <= 1 Integer\n",
       "0 <= XNicosiaAnkara <= 1 Integer\n",
       "0 <= XNicosiaBaghdad <= 1 Integer\n",
       "0 <= XNicosiaBeirut <= 1 Integer\n",
       "0 <= XNicosiaCairo <= 1 Integer\n",
       "0 <= XNicosiaDamascus <= 1 Integer\n",
       "0 <= XNicosiaDoha <= 1 Integer\n",
       "0 <= XNicosiaDubai <= 1 Integer\n",
       "0 <= XNicosiaJuresalem <= 1 Integer\n",
       "0 <= XNicosiaKuwait <= 1 Integer\n",
       "0 <= XNicosiaManama <= 1 Integer\n",
       "0 <= XNicosiaMuscat <= 1 Integer\n",
       "0 <= XNicosiaNicosia <= 1 Integer\n",
       "0 <= XNicosiaRamallah <= 1 Integer\n",
       "0 <= XNicosiaRiyadh <= 1 Integer\n",
       "0 <= XNicosiaSanaa <= 1 Integer\n",
       "0 <= XNicosiaTahran <= 1 Integer\n",
       "0 <= XRamallahAmman <= 1 Integer\n",
       "0 <= XRamallahAnkara <= 1 Integer\n",
       "0 <= XRamallahBaghdad <= 1 Integer\n",
       "0 <= XRamallahBeirut <= 1 Integer\n",
       "0 <= XRamallahCairo <= 1 Integer\n",
       "0 <= XRamallahDamascus <= 1 Integer\n",
       "0 <= XRamallahDoha <= 1 Integer\n",
       "0 <= XRamallahDubai <= 1 Integer\n",
       "0 <= XRamallahJuresalem <= 1 Integer\n",
       "0 <= XRamallahKuwait <= 1 Integer\n",
       "0 <= XRamallahManama <= 1 Integer\n",
       "0 <= XRamallahMuscat <= 1 Integer\n",
       "0 <= XRamallahNicosia <= 1 Integer\n",
       "0 <= XRamallahRamallah <= 1 Integer\n",
       "0 <= XRamallahRiyadh <= 1 Integer\n",
       "0 <= XRamallahSanaa <= 1 Integer\n",
       "0 <= XRamallahTahran <= 1 Integer\n",
       "0 <= XRiyadhAmman <= 1 Integer\n",
       "0 <= XRiyadhAnkara <= 1 Integer\n",
       "0 <= XRiyadhBaghdad <= 1 Integer\n",
       "0 <= XRiyadhBeirut <= 1 Integer\n",
       "0 <= XRiyadhCairo <= 1 Integer\n",
       "0 <= XRiyadhDamascus <= 1 Integer\n",
       "0 <= XRiyadhDoha <= 1 Integer\n",
       "0 <= XRiyadhDubai <= 1 Integer\n",
       "0 <= XRiyadhJuresalem <= 1 Integer\n",
       "0 <= XRiyadhKuwait <= 1 Integer\n",
       "0 <= XRiyadhManama <= 1 Integer\n",
       "0 <= XRiyadhMuscat <= 1 Integer\n",
       "0 <= XRiyadhNicosia <= 1 Integer\n",
       "0 <= XRiyadhRamallah <= 1 Integer\n",
       "0 <= XRiyadhRiyadh <= 1 Integer\n",
       "0 <= XRiyadhSanaa <= 1 Integer\n",
       "0 <= XRiyadhTahran <= 1 Integer\n",
       "0 <= XSanaaAmman <= 1 Integer\n",
       "0 <= XSanaaAnkara <= 1 Integer\n",
       "0 <= XSanaaBaghdad <= 1 Integer\n",
       "0 <= XSanaaBeirut <= 1 Integer\n",
       "0 <= XSanaaCairo <= 1 Integer\n",
       "0 <= XSanaaDamascus <= 1 Integer\n",
       "0 <= XSanaaDoha <= 1 Integer\n",
       "0 <= XSanaaDubai <= 1 Integer\n",
       "0 <= XSanaaJuresalem <= 1 Integer\n",
       "0 <= XSanaaKuwait <= 1 Integer\n",
       "0 <= XSanaaManama <= 1 Integer\n",
       "0 <= XSanaaMuscat <= 1 Integer\n",
       "0 <= XSanaaNicosia <= 1 Integer\n",
       "0 <= XSanaaRamallah <= 1 Integer\n",
       "0 <= XSanaaRiyadh <= 1 Integer\n",
       "0 <= XSanaaSanaa <= 1 Integer\n",
       "0 <= XSanaaTahran <= 1 Integer\n",
       "0 <= XTahranAmman <= 1 Integer\n",
       "0 <= XTahranAnkara <= 1 Integer\n",
       "0 <= XTahranBaghdad <= 1 Integer\n",
       "0 <= XTahranBeirut <= 1 Integer\n",
       "0 <= XTahranCairo <= 1 Integer\n",
       "0 <= XTahranDamascus <= 1 Integer\n",
       "0 <= XTahranDoha <= 1 Integer\n",
       "0 <= XTahranDubai <= 1 Integer\n",
       "0 <= XTahranJuresalem <= 1 Integer\n",
       "0 <= XTahranKuwait <= 1 Integer\n",
       "0 <= XTahranManama <= 1 Integer\n",
       "0 <= XTahranMuscat <= 1 Integer\n",
       "0 <= XTahranNicosia <= 1 Integer\n",
       "0 <= XTahranRamallah <= 1 Integer\n",
       "0 <= XTahranRiyadh <= 1 Integer\n",
       "0 <= XTahranSanaa <= 1 Integer\n",
       "0 <= XTahranTahran <= 1 Integer"
      ]
     },
     "execution_count": 8,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#Setting up constraints\n",
    "plant_numbers=2\n",
    "prob+= sum(X[i][i] for i in demand_points)==plant_numbers\n",
    "\n",
    "for j in demand_points:\n",
    "    prob+= sum(X[i][j] for i in demand_points)==1\n",
    "    \n",
    "for j in demand_points:\n",
    "    for i in demand_points:\n",
    "        prob+= X[i][j]<=X[i][i] \n",
    "        \n",
    "for i in demand_points:\n",
    "    prob+= sum(vehicle_demands[j]*X[i][j] for j in demand_points) <= 1300000\n",
    "        \n",
    "prob\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [],
   "source": [
    "#Saving the model to a lp file\n",
    "prob.writeLP(\"p-median.lp\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Status: Optimal\n",
      "Objective:  1306554272.67607\n"
     ]
    },
    {
     "data": {
      "text/plain": [
       "{'XAmmanAmman': 0.0,\n",
       " 'XAmmanAnkara': 0.0,\n",
       " 'XAmmanBaghdad': 0.0,\n",
       " 'XAmmanBeirut': 0.0,\n",
       " 'XAmmanCairo': 0.0,\n",
       " 'XAmmanDamascus': 0.0,\n",
       " 'XAmmanDoha': 0.0,\n",
       " 'XAmmanDubai': 0.0,\n",
       " 'XAmmanJuresalem': 0.0,\n",
       " 'XAmmanKuwait': 0.0,\n",
       " 'XAmmanManama': 0.0,\n",
       " 'XAmmanMuscat': 0.0,\n",
       " 'XAmmanNicosia': 0.0,\n",
       " 'XAmmanRamallah': 0.0,\n",
       " 'XAmmanRiyadh': 0.0,\n",
       " 'XAmmanSanaa': 0.0,\n",
       " 'XAmmanTahran': 0.0,\n",
       " 'XAnkaraAmman': 0.0,\n",
       " 'XAnkaraAnkara': 0.0,\n",
       " 'XAnkaraBaghdad': 0.0,\n",
       " 'XAnkaraBeirut': 0.0,\n",
       " 'XAnkaraCairo': 0.0,\n",
       " 'XAnkaraDamascus': 0.0,\n",
       " 'XAnkaraDoha': 0.0,\n",
       " 'XAnkaraDubai': 0.0,\n",
       " 'XAnkaraJuresalem': 0.0,\n",
       " 'XAnkaraKuwait': 0.0,\n",
       " 'XAnkaraManama': 0.0,\n",
       " 'XAnkaraMuscat': 0.0,\n",
       " 'XAnkaraNicosia': 0.0,\n",
       " 'XAnkaraRamallah': 0.0,\n",
       " 'XAnkaraRiyadh': 0.0,\n",
       " 'XAnkaraSanaa': 0.0,\n",
       " 'XAnkaraTahran': 0.0,\n",
       " 'XBaghdadAmman': 0.0,\n",
       " 'XBaghdadAnkara': 0.0,\n",
       " 'XBaghdadBaghdad': 0.0,\n",
       " 'XBaghdadBeirut': 0.0,\n",
       " 'XBaghdadCairo': 0.0,\n",
       " 'XBaghdadDamascus': 0.0,\n",
       " 'XBaghdadDoha': 0.0,\n",
       " 'XBaghdadDubai': 0.0,\n",
       " 'XBaghdadJuresalem': 0.0,\n",
       " 'XBaghdadKuwait': 0.0,\n",
       " 'XBaghdadManama': 0.0,\n",
       " 'XBaghdadMuscat': 0.0,\n",
       " 'XBaghdadNicosia': 0.0,\n",
       " 'XBaghdadRamallah': 0.0,\n",
       " 'XBaghdadRiyadh': 0.0,\n",
       " 'XBaghdadSanaa': 0.0,\n",
       " 'XBaghdadTahran': 0.0,\n",
       " 'XBeirutAmman': 1.0,\n",
       " 'XBeirutAnkara': 1.0,\n",
       " 'XBeirutBaghdad': 1.0,\n",
       " 'XBeirutBeirut': 1.0,\n",
       " 'XBeirutCairo': 1.0,\n",
       " 'XBeirutDamascus': 1.0,\n",
       " 'XBeirutDoha': 0.0,\n",
       " 'XBeirutDubai': 0.0,\n",
       " 'XBeirutJuresalem': 1.0,\n",
       " 'XBeirutKuwait': 0.0,\n",
       " 'XBeirutManama': 1.0,\n",
       " 'XBeirutMuscat': 0.0,\n",
       " 'XBeirutNicosia': 1.0,\n",
       " 'XBeirutRamallah': 1.0,\n",
       " 'XBeirutRiyadh': 0.0,\n",
       " 'XBeirutSanaa': 0.0,\n",
       " 'XBeirutTahran': 1.0,\n",
       " 'XCairoAmman': 0.0,\n",
       " 'XCairoAnkara': 0.0,\n",
       " 'XCairoBaghdad': 0.0,\n",
       " 'XCairoBeirut': 0.0,\n",
       " 'XCairoCairo': 0.0,\n",
       " 'XCairoDamascus': 0.0,\n",
       " 'XCairoDoha': 0.0,\n",
       " 'XCairoDubai': 0.0,\n",
       " 'XCairoJuresalem': 0.0,\n",
       " 'XCairoKuwait': 0.0,\n",
       " 'XCairoManama': 0.0,\n",
       " 'XCairoMuscat': 0.0,\n",
       " 'XCairoNicosia': 0.0,\n",
       " 'XCairoRamallah': 0.0,\n",
       " 'XCairoRiyadh': 0.0,\n",
       " 'XCairoSanaa': 0.0,\n",
       " 'XCairoTahran': 0.0,\n",
       " 'XDamascusAmman': 0.0,\n",
       " 'XDamascusAnkara': 0.0,\n",
       " 'XDamascusBaghdad': 0.0,\n",
       " 'XDamascusBeirut': 0.0,\n",
       " 'XDamascusCairo': 0.0,\n",
       " 'XDamascusDamascus': 0.0,\n",
       " 'XDamascusDoha': 0.0,\n",
       " 'XDamascusDubai': 0.0,\n",
       " 'XDamascusJuresalem': 0.0,\n",
       " 'XDamascusKuwait': 0.0,\n",
       " 'XDamascusManama': 0.0,\n",
       " 'XDamascusMuscat': 0.0,\n",
       " 'XDamascusNicosia': 0.0,\n",
       " 'XDamascusRamallah': 0.0,\n",
       " 'XDamascusRiyadh': 0.0,\n",
       " 'XDamascusSanaa': 0.0,\n",
       " 'XDamascusTahran': 0.0,\n",
       " 'XDohaAmman': 0.0,\n",
       " 'XDohaAnkara': 0.0,\n",
       " 'XDohaBaghdad': 0.0,\n",
       " 'XDohaBeirut': 0.0,\n",
       " 'XDohaCairo': 0.0,\n",
       " 'XDohaDamascus': 0.0,\n",
       " 'XDohaDoha': 1.0,\n",
       " 'XDohaDubai': 1.0,\n",
       " 'XDohaJuresalem': 0.0,\n",
       " 'XDohaKuwait': 1.0,\n",
       " 'XDohaManama': 0.0,\n",
       " 'XDohaMuscat': 1.0,\n",
       " 'XDohaNicosia': 0.0,\n",
       " 'XDohaRamallah': 0.0,\n",
       " 'XDohaRiyadh': 1.0,\n",
       " 'XDohaSanaa': 1.0,\n",
       " 'XDohaTahran': 0.0,\n",
       " 'XDubaiAmman': 0.0,\n",
       " 'XDubaiAnkara': 0.0,\n",
       " 'XDubaiBaghdad': 0.0,\n",
       " 'XDubaiBeirut': 0.0,\n",
       " 'XDubaiCairo': 0.0,\n",
       " 'XDubaiDamascus': 0.0,\n",
       " 'XDubaiDoha': 0.0,\n",
       " 'XDubaiDubai': 0.0,\n",
       " 'XDubaiJuresalem': 0.0,\n",
       " 'XDubaiKuwait': 0.0,\n",
       " 'XDubaiManama': 0.0,\n",
       " 'XDubaiMuscat': 0.0,\n",
       " 'XDubaiNicosia': 0.0,\n",
       " 'XDubaiRamallah': 0.0,\n",
       " 'XDubaiRiyadh': 0.0,\n",
       " 'XDubaiSanaa': 0.0,\n",
       " 'XDubaiTahran': 0.0,\n",
       " 'XJuresalemAmman': 0.0,\n",
       " 'XJuresalemAnkara': 0.0,\n",
       " 'XJuresalemBaghdad': 0.0,\n",
       " 'XJuresalemBeirut': 0.0,\n",
       " 'XJuresalemCairo': 0.0,\n",
       " 'XJuresalemDamascus': 0.0,\n",
       " 'XJuresalemDoha': 0.0,\n",
       " 'XJuresalemDubai': 0.0,\n",
       " 'XJuresalemJuresalem': 0.0,\n",
       " 'XJuresalemKuwait': 0.0,\n",
       " 'XJuresalemManama': 0.0,\n",
       " 'XJuresalemMuscat': 0.0,\n",
       " 'XJuresalemNicosia': 0.0,\n",
       " 'XJuresalemRamallah': 0.0,\n",
       " 'XJuresalemRiyadh': 0.0,\n",
       " 'XJuresalemSanaa': 0.0,\n",
       " 'XJuresalemTahran': 0.0,\n",
       " 'XKuwaitAmman': 0.0,\n",
       " 'XKuwaitAnkara': 0.0,\n",
       " 'XKuwaitBaghdad': 0.0,\n",
       " 'XKuwaitBeirut': 0.0,\n",
       " 'XKuwaitCairo': 0.0,\n",
       " 'XKuwaitDamascus': 0.0,\n",
       " 'XKuwaitDoha': 0.0,\n",
       " 'XKuwaitDubai': 0.0,\n",
       " 'XKuwaitJuresalem': 0.0,\n",
       " 'XKuwaitKuwait': 0.0,\n",
       " 'XKuwaitManama': 0.0,\n",
       " 'XKuwaitMuscat': 0.0,\n",
       " 'XKuwaitNicosia': 0.0,\n",
       " 'XKuwaitRamallah': 0.0,\n",
       " 'XKuwaitRiyadh': 0.0,\n",
       " 'XKuwaitSanaa': 0.0,\n",
       " 'XKuwaitTahran': 0.0,\n",
       " 'XManamaAmman': 0.0,\n",
       " 'XManamaAnkara': 0.0,\n",
       " 'XManamaBaghdad': 0.0,\n",
       " 'XManamaBeirut': 0.0,\n",
       " 'XManamaCairo': 0.0,\n",
       " 'XManamaDamascus': 0.0,\n",
       " 'XManamaDoha': 0.0,\n",
       " 'XManamaDubai': 0.0,\n",
       " 'XManamaJuresalem': 0.0,\n",
       " 'XManamaKuwait': 0.0,\n",
       " 'XManamaManama': 0.0,\n",
       " 'XManamaMuscat': 0.0,\n",
       " 'XManamaNicosia': 0.0,\n",
       " 'XManamaRamallah': 0.0,\n",
       " 'XManamaRiyadh': 0.0,\n",
       " 'XManamaSanaa': 0.0,\n",
       " 'XManamaTahran': 0.0,\n",
       " 'XMuscatAmman': 0.0,\n",
       " 'XMuscatAnkara': 0.0,\n",
       " 'XMuscatBaghdad': 0.0,\n",
       " 'XMuscatBeirut': 0.0,\n",
       " 'XMuscatCairo': 0.0,\n",
       " 'XMuscatDamascus': 0.0,\n",
       " 'XMuscatDoha': 0.0,\n",
       " 'XMuscatDubai': 0.0,\n",
       " 'XMuscatJuresalem': 0.0,\n",
       " 'XMuscatKuwait': 0.0,\n",
       " 'XMuscatManama': 0.0,\n",
       " 'XMuscatMuscat': 0.0,\n",
       " 'XMuscatNicosia': 0.0,\n",
       " 'XMuscatRamallah': 0.0,\n",
       " 'XMuscatRiyadh': 0.0,\n",
       " 'XMuscatSanaa': 0.0,\n",
       " 'XMuscatTahran': 0.0,\n",
       " 'XNicosiaAmman': 0.0,\n",
       " 'XNicosiaAnkara': 0.0,\n",
       " 'XNicosiaBaghdad': 0.0,\n",
       " 'XNicosiaBeirut': 0.0,\n",
       " 'XNicosiaCairo': 0.0,\n",
       " 'XNicosiaDamascus': 0.0,\n",
       " 'XNicosiaDoha': 0.0,\n",
       " 'XNicosiaDubai': 0.0,\n",
       " 'XNicosiaJuresalem': 0.0,\n",
       " 'XNicosiaKuwait': 0.0,\n",
       " 'XNicosiaManama': 0.0,\n",
       " 'XNicosiaMuscat': 0.0,\n",
       " 'XNicosiaNicosia': 0.0,\n",
       " 'XNicosiaRamallah': 0.0,\n",
       " 'XNicosiaRiyadh': 0.0,\n",
       " 'XNicosiaSanaa': 0.0,\n",
       " 'XNicosiaTahran': 0.0,\n",
       " 'XRamallahAmman': 0.0,\n",
       " 'XRamallahAnkara': 0.0,\n",
       " 'XRamallahBaghdad': 0.0,\n",
       " 'XRamallahBeirut': 0.0,\n",
       " 'XRamallahCairo': 0.0,\n",
       " 'XRamallahDamascus': 0.0,\n",
       " 'XRamallahDoha': 0.0,\n",
       " 'XRamallahDubai': 0.0,\n",
       " 'XRamallahJuresalem': 0.0,\n",
       " 'XRamallahKuwait': 0.0,\n",
       " 'XRamallahManama': 0.0,\n",
       " 'XRamallahMuscat': 0.0,\n",
       " 'XRamallahNicosia': 0.0,\n",
       " 'XRamallahRamallah': 0.0,\n",
       " 'XRamallahRiyadh': 0.0,\n",
       " 'XRamallahSanaa': 0.0,\n",
       " 'XRamallahTahran': 0.0,\n",
       " 'XRiyadhAmman': 0.0,\n",
       " 'XRiyadhAnkara': 0.0,\n",
       " 'XRiyadhBaghdad': 0.0,\n",
       " 'XRiyadhBeirut': 0.0,\n",
       " 'XRiyadhCairo': 0.0,\n",
       " 'XRiyadhDamascus': 0.0,\n",
       " 'XRiyadhDoha': 0.0,\n",
       " 'XRiyadhDubai': 0.0,\n",
       " 'XRiyadhJuresalem': 0.0,\n",
       " 'XRiyadhKuwait': 0.0,\n",
       " 'XRiyadhManama': 0.0,\n",
       " 'XRiyadhMuscat': 0.0,\n",
       " 'XRiyadhNicosia': 0.0,\n",
       " 'XRiyadhRamallah': 0.0,\n",
       " 'XRiyadhRiyadh': 0.0,\n",
       " 'XRiyadhSanaa': 0.0,\n",
       " 'XRiyadhTahran': 0.0,\n",
       " 'XSanaaAmman': 0.0,\n",
       " 'XSanaaAnkara': 0.0,\n",
       " 'XSanaaBaghdad': 0.0,\n",
       " 'XSanaaBeirut': 0.0,\n",
       " 'XSanaaCairo': 0.0,\n",
       " 'XSanaaDamascus': 0.0,\n",
       " 'XSanaaDoha': 0.0,\n",
       " 'XSanaaDubai': 0.0,\n",
       " 'XSanaaJuresalem': 0.0,\n",
       " 'XSanaaKuwait': 0.0,\n",
       " 'XSanaaManama': 0.0,\n",
       " 'XSanaaMuscat': 0.0,\n",
       " 'XSanaaNicosia': 0.0,\n",
       " 'XSanaaRamallah': 0.0,\n",
       " 'XSanaaRiyadh': 0.0,\n",
       " 'XSanaaSanaa': 0.0,\n",
       " 'XSanaaTahran': 0.0,\n",
       " 'XTahranAmman': 0.0,\n",
       " 'XTahranAnkara': 0.0,\n",
       " 'XTahranBaghdad': 0.0,\n",
       " 'XTahranBeirut': 0.0,\n",
       " 'XTahranCairo': 0.0,\n",
       " 'XTahranDamascus': 0.0,\n",
       " 'XTahranDoha': 0.0,\n",
       " 'XTahranDubai': 0.0,\n",
       " 'XTahranJuresalem': 0.0,\n",
       " 'XTahranKuwait': 0.0,\n",
       " 'XTahranManama': 0.0,\n",
       " 'XTahranMuscat': 0.0,\n",
       " 'XTahranNicosia': 0.0,\n",
       " 'XTahranRamallah': 0.0,\n",
       " 'XTahranRiyadh': 0.0,\n",
       " 'XTahranSanaa': 0.0,\n",
       " 'XTahranTahran': 0.0}"
      ]
     },
     "execution_count": 10,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#Solving the model\n",
    "\n",
    "prob.solve()\n",
    "\n",
    "print(\"Status:\",LpStatus[prob.status]) \n",
    "print(\"Objective: \",value(prob.objective))\n",
    "varsdict = {}\n",
    "for v in prob.variables():\n",
    "    varsdict[v.name] = v.varValue\n",
    "varsdict "
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.3"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
